fontlabapp.glyphs.creation.NewGlyph
NewGlyph
dataclass
One glyph to create: name, (master, advance width) per master, code points, components.
components go into the same set_glyph(create=True) data, so the
glyph and its components are ONE Add Glyph Undo step. No component
constructor is measured on this FontLab build (fl#8505); this is the
native path for the first component of a NEW glyph, also in a font
without components.
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 |
|---|---|---|---|
components |
attribute | tuple[Part, ...] |
|
layers |
attribute | tuple[tuple[str, int], ...] |
|
name |
attribute | str |
(shared captured text) |
unicodes |
attribute | tuple[int, ...] |