1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-09 21:52:10 -05:00
Ben Harris a0a92da035 GTK: don't try to use X fonts for characters outside BMP
X fonts are indexed by 16-bit quantities, so even Unicode-capable
fonts can only have characters in the Basic Multilingual Plane (BMP).
PuTTY, however, tried to look up all Unicode characters in X fonts,
and did so by effectively ignoring all but the low-order 16 bits of
the character code.  This meant that trying to display a non-BMP
character could get you the corresponding character from the BMP
instead, if that character was in the font.

Now, x11font_has_glyph() always returns false for glyphs outside the
BMP, which should mean that x11font_draw_text() never gets asked to
draw them.
2025-05-05 18:39:05 +01:00
..
2022-05-05 19:04:34 +01:00
2023-12-18 14:47:48 +00:00