-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"glyph names are referenced but are missing from the glyph set" with --color_format=glyf #114
Comments
it took me a while but now I see what's going on here.. It's complicated but I'll try to explain. I also have a fix coming later. When building a b&w glyf-only font (in _glyf_ufo) for each input SVG a new composite glyph is made (and added to the UFO in _create_glyphs), referencing each layer sub-path as components. Then if the composite only contains a single component, it's not worth keeping and thus the composite is de-composed (i.e. the parent composite glyph is swapped with its only component). The fix is to undo the compositing for single-component composites in a separate loop, only after we have finished computing the inter-glyph reuses. |
I also noticed that, when we replace single-component composite glyphs with their component, we aren't keeping the original unicode value associated with them. I'll fix it in the same PR |
This is now possible because googlefonts/nanoemoji#114 was fixed.
This is now possible because googlefonts/nanoemoji#114 was fixed.
This is now possible because googlefonts/nanoemoji#114 was fixed.
This is now possible because googlefonts/nanoemoji#114 was fixed.
This is now possible because googlefonts/nanoemoji#114 was fixed.
I'm asusing here that if I want to build a black and white font, then the way to do that is supposed to be
--color_format=glyf
.The text was updated successfully, but these errors were encountered: