Closed wilsonk closed 2 years ago
This should be fixed now. Previously it would just look at the color tables and give up if it got back nothing. Now it will also check the outline tables too. If there's a missing glyph it would just be an empty glyph. If you want fallback fonts instead, that can be achieved with graphics.Graphics.addFallbackFont
If you try to load the font 'NotoColorEmoji.ttf' from the examples/assets directory (whether copied to the base directory or symlinked) then the example crashes with:
Which I suppose means that the NotoColorEmoji.ttf font doesn't have a color bitmap? Anyways, I was wondering if this should/could fail gracefully and produce a warning about the font instead of a crash? I tried a few other fonts and they work fine.