Skip to content

fontlabapp.studios.derived_glyphs.small_caps · declarations 001

Back to fontlabapp.studios.derived_glyphs.small_caps

contour_copy module-attribute

contour_copy

is_capital

is_capital(name: str) -> bool

True when the base name (before the first dot) starts with a capital letter.

naming

naming(name: str) -> tuple[str, str]

Return (new name, problem) for a selected glyph name.

prepare

prepare(rows: Sequence[Any], x_scale: int, y_scale: int) -> list[Any]

Return the jobs: copies scaled by the percentages about the origin.

qt module-attribute

qt

survey

survey(package: Any, names: Sequence[str], facts: Any, allow_rebuild: bool = False) -> list[Any]

Plan one small cap per selected capital. Change nothing.

target_name

target_name(name: str) -> str

Return the small-cap name: H -> h.sc, H.ss01 -> h.sc.ss01.