Skip to content

fontlab_fontport.backend.FontBackend

FontBackend

One font with globally named layers and explicit native lifetimes.

Source bases

  • Protocol (not resolved from selected source)

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
close function (self) -> None
default_layer function (self) -> str
get_feature_blocks function (self) -> dict
get_features function (self) -> str | None
get_groups function (self) -> dict[str, tuple[str, ...]]
get_info function (self, attr: str) -> Any
get_kerning function (self) -> dict[tuple[str, str], int | float]
get_lib function (self) -> dict[str, Any]
glyph_global_fields attribute tuple[str, ...]
glyph_names function (self, layer: str) -> tuple[str, ...]
has_glyph function (self, name: str, layer: str) -> bool
layer_names function (self) -> tuple[str, ...]
new_glyph function (self, name: str, layer: str) -> None
path function (self) -> str | None
read_glyph function (self, name: str, layer: str) -> Glyph
remove_glyph function (self, name: str, layer: str) -> None
save function (self, path: str | None, *, require_persistence: bool=True) -> None
set_feature_blocks function (self, values: Mapping, *, undo_name: str='FontParts features') -> None
set_features function (self, text: str | None, *, undo_name: str='FontParts features') -> None
set_groups function (self, values: Mapping[str, Any], *, undo_name: str='FontParts groups', require_persistence: bool=True) -> No…
set_info function (self, attr: str, value: Any, *, require_single_undo: bool=True) -> None
set_info_many function (self, values: Mapping[str, Any], *, undo_name: str='FontParts font info', require_single_undo: bool=True) ->…
set_kerning function (self, values: Mapping[tuple[str, str], int | float], *, undo_name: str='FontParts kerning') -> None
set_lib function (self, values: Mapping[str, Any], *, undo_name: str='FontParts lib') -> None
write_glyph function (self, name: str, layer: str, source: Any) -> None