Skip to content

FontInfo

🛈 DocStrings

Information about a font package.

Source code in src/pycons/font_providers/models.py
@dataclass
class FontInfo:
    """Information about a font package."""

    name: str  # e.g. "fontawesome"
    prefix: str  # e.g. "fa"
    display_name: str  # e.g. "Font Awesome 6 Free Regular"
    current_version: str  # e.g. "6.7.2"
    ttf_path: Path  # Path to the downloaded TTF file
    mapping_path: Path  # Path to the downloaded mapping file

:fa-brands-github: Show source on GitHub