diff options
author | Sven Gothel <[email protected]> | 2023-02-19 05:21:11 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-02-19 05:21:11 +0100 |
commit | dd98cf0ae983429187256ab3236fa7dad1cd13d0 (patch) | |
tree | 6d5bf08f80b3280f143ed2e73e78894c0c0a4cc7 /make/stub_includes/khr | |
parent | da88b0f2ac0b09082222ce1a387987e8cdd5f21d (diff) |
Graph Font: Add 'name' to Glyph; Drop erroneous Glyph ID_SPACE, ID_CR manual mapping, rely on no-shape for 'space' non-contour.
Drop erroneous Glyph ID_SPACE, ID_CR to rely on no-shape for 'space' non-contour
resolves different cmap-mappings of fonts, not following 'some std'.
Hence getGlyph(glyph_id) no more uses the `font.getGlyph(Glyph.ID_UNKNOWN)` shape,
but a null-shape as intended and using the hmtx and hhea table values for asvance and bounds.
This fixes 'space' spacing in general and specifically FreeSerif-Regular and the like.
This path also simplifies processing/layout of glyphs in process(..) and get*BoundsFU(..).
Diffstat (limited to 'make/stub_includes/khr')
0 files changed, 0 insertions, 0 deletions