googlefonts / fontc

Where in we pursue oxidizing (context: https://github.com/googlefonts/oxidize) fontmake.
Apache License 2.0
62 stars 10 forks source link

[glyphs] Store codepoints in glyph struct #775

Closed cmyr closed 2 months ago

cmyr commented 2 months ago

Previously we were generating a separate cmap-like thing in the glyphs module, which was then used to set the codepoints in the ir::Glyph. This just keeps the codepoints in the glyphs Glyph, which will be nice because it means that all the things that we use to determine the glyph category will be in one place.