mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 01:28:22 +00:00
When the requested font has no glyph for a character, the text draws it from a fallback face, and text.glyphAlternates reports that glyph. For a character that overflows its area, the query shaped the character alone but kept only a glyph of the requested face, so it reported the requested face's default glyph (0). It now takes the first glyph drawn for the character when the requested face draws none, as it does for laid-out text.