Skip to content

fontlabapp.studios.component_studio.build · declarations 001

Back to fontlabapp.studios.component_studio.build

ATTACH module-attribute

ATTACH

EXAMPLE module-attribute

EXAMPLE

GLYPH_NAME module-attribute

GLYPH_NAME

LAYER_MISSING module-attribute

LAYER_MISSING

UNSAFE_TEXT module-attribute

UNSAFE_TEXT

build

build(package: Any, line: Line, master: str, replace: bool, dry_run: bool) -> tuple[bool, str]

Build (or only validate) one target layer. Returns (ok, message).

Never an auto layer: FontLab's builder notifies the glyph deeply, and an auto layer there rebuilds every default-recipe auto layer in the font.

check_lines

check_lines(package: Any, lines: list[Line], masters: list[str], replace: bool, facts: AutoFacts) -> list[Result]

Dry-run every line on every master. Nothing in the font changes.

component_writer module-attribute

component_writer

data_tool

data_tool(tool: str, **arguments: Any) -> Any

Call one of FontLab's own data tools in-process (fly.pr is native fontpr).

dump_text

dump_text() -> tuple[str, str]

(recipes, summary) of the selected layers; the Dump Component Recipes report. Reads only.

parse

parse(text: str) -> list[Line]

Non-empty lines as Line records. '#' starts a comment.

pr module-attribute

pr

recipes_model module-attribute

recipes_model