fontlab_glyport.model.fake_backend.FakeBackend · declarations 001
Back to fontlab_glyport.model.fake_backend.FakeBackend
__init__
__init__()
__setattr__
__setattr__(key, value)
add_axis
add_axis(font_id, axis) -> str
add_hint
add_hint(layer_id: str, hint) -> None
add_instance
add_instance(font_id, instance) -> None
anchor_selected
anchor_selected(anchor_id)
append_glyph
append_glyph(font_id: str, name: str, *, unicodes: tuple[str, ...] = ()) -> str
append_layer
append_layer(glyph_id, master_id, name, snapshot)
append_master
append_master(font_id, master, metrics)
append_master_guide
append_master_guide(master_id, guide)
background_layer
background_layer(layer_id)
begin_undo
begin_undo(name: str) -> None
can_publish_undo
can_publish_undo(font_id: str) -> bool
clear_background_layer
clear_background_layer(layer_id)
close_font
close_font(font_id, *, ignore_changes=True)
Close the fake document and invalidate all descendant handles.
component_bounds
component_bounds(component_id)
component_selected
component_selected(component_id)
current_font_id
current_font_id() -> str | None
current_layers
current_layers(font_id: str) -> tuple[tuple[str, str], ...]
current_master
current_master(font_id: str) -> str | None
dark_mode
dark_mode()
decompose_component
decompose_component(layer_id: str, component_id: str, *, on_detach: Callable[[], None]) -> None
discard_undo
discard_undo() -> None
end_undo
end_undo() -> None
font_path
font_path(font_id: str) -> str | None
glyph_last_change
glyph_last_change(glyph_id: str) -> str | None
glyph_layers
glyph_layers(glyph_id)
glyph_note
glyph_note(glyph_id: str) -> str
glyph_selected
glyph_selected(font_id, glyph_id)
glyph_tags
glyph_tags(glyph_id: str) -> tuple[str, ...]
guide_selected
guide_selected(guide_id)