Skip to content

typerig.proxy.gs3.objects.kern.GlyphsKernHost

GlyphsKernHost

Glyphs 3 / 4 access for the TR Kern engine (fake it in tests).

Source bases

  • object (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
apply function (self, cs) Write a ChangeSet (groups, then pairs per master).
components function (self) {glyph: [component glyph names]} of the first master layer (auto groups).
current_pair function (self) (left, right) glyph names around the text cursor of the active edit tab, or None.
font_dir function (self)
font_info function (self)
font_key function (self) Identity of the current font: the ObjC pointer (Glyphs may hand out a new Python wrapper on each access).
font_path function (self)
glyph_sets function (self) {set name: [glyphs]} for proof strings (Uppercase, Lowercase, ...).
load_data function (self, key) JSON stored in font.userData[key] (None when there is none). (shared captured text)
master_id function (self, name)
master_locations function (self) {master: {axis name: value}} (Glyphs 3 / 4 master axis values).
master_names function (self)
name_tables function (self)
open_tab function (self, text)
read_kernset function (self, masters=None) The font's kerning as a KernSet (all masters, or the named ones), with master locations.
redraw function (self)
save_data function (self, key, data) (shared captured text)
selected_names function (self) Glyphs selected in Glyphs: the Font view selection, or the selected glyphs of the edit tab.
show_pairs function (self, pairs) The (left, right) glyph pairs as the text of the active edit tab (a new tab when none), one per line, the text cursor between the first two glyphs.