"""
Sideline font configuration.

Provides default fonts for block letter rendering.
"""

import os
from pathlib import Path

# Directory containing Sideline fonts
FONTS_DIR = Path(__file__).parent

# Default font for block letter rendering
DEFAULT_FONT = FONTS_DIR / "Corptic.otf"

# Font size for default rendering
DEFAULT_FONT_SIZE = 32


def get_default_font_path() -> str:
    """Get path to default font file."""
    if DEFAULT_FONT.exists():
        return str(DEFAULT_FONT)
    raise FileNotFoundError(f"Default font not found: {DEFAULT_FONT}")


def get_default_font_size() -> int:
    """Get default font size."""
    return DEFAULT_FONT_SIZE


__all__ = [
    "get_default_font_path",
    "get_default_font_size",
    "DEFAULT_FONT",
    "DEFAULT_FONT_SIZE",
    "FONTS_DIR",
]
