Skip to content

fontlabapp.glyphs.identity

identity

Read a glyph's name, Unicodes, mark colour and export flag without writing.

Evidence classes follow Issue 209 native-data-map.md: (a-stub) the name is in the generated Echopy stub, (b) earlier App/Glyport code ran it natively, (c) inference. Used by fontlabapp.plugins.snapshot.capture.

Classes

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
GREY attribute
LIGHTNESS attribute
mark_rgb function (mark: int) -> tuple[int, int, int] | None Map a raw <code>glyph.mark</code> to RGB: 0 none, >1000 grey, else hue = mark - 1.
read function (package: Any, glyph: Any) -> Identity Read one glyph's identity; raise on any missing native attribute.