fontlabapp.glyphs.unreferenced · declarations 001
Back to fontlabapp.glyphs.unreferenced
RESERVED
module-attribute
RESERVED
class_members
class_members(font: Any, used_tokens: set[str]) -> set[str]
Retain the original helper interface for used feature-class members.
feature_source
feature_source(font: Any) -> str
Read the prefix and every feature block in tag order.
Native fgOTLayout iteration yields feature text. Use keys() to retrieve tags; treating the text as a tag silently loses referenced glyph names.
source_values
source_values(package: Any) -> tuple | None
Snapshot every input to the candidate list without native glyph conversion.
Ordered membership and encodings must agree. A disappearing glyph is a scan failure; publishing a partial candidate list could select the wrong glyphs.
tokens
tokens(text: str) -> set[str]
Read original FEA name tokens, including hyphens, after dropping comments.
unreferenced
unreferenced(package: Any) -> list[tuple[str, str]]
Return all original candidates and alternate hints in font order.
Included FEA files cannot be inspected here. Refuse the complete scan when include() occurs outside comments; do not silently omit its references.