mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 08:20:13 +00:00
text.glyphAlternates reported the first glyph of the character's cluster as the chosen glyph. A vowel sign drawn before its consonant (Devanagari Ka with the vowel sign I) comes first in that cluster, so the query reported the vowel sign's glyph for Ka, while text.setGlyphAlternate reported Ka's own glyph. Both commands now take the character's glyph by the same rule, and so does the check in text.setGlyphAlternate that the chosen glyph is drawn. A character that overflows its area is shaped with its grapheme, and each character of the grapheme now keeps its own style there, so a nukta of another size no longer makes a ligature with its consonant that the laid-out text does not draw. A test font with a Devanagari nukta ligature checks both.