mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00

When font shaping grapheme clusters, we erroneously used the font index of a font that only matches the first codepoint in the cell. This led to the combining characters being [usually] unknown and rendering as boxes. For a grapheme, we must find a font face that has a glyph for _all codepoints_ in the grapheme. This also fixes an issue where we now properly render the unicode replacement character if we can't find a font satisfying a codepoint.