From b5659615bd770fd641f389e5fde8ae97be505fca Mon Sep 17 00:00:00 2001 From: eunhhu Date: Mon, 28 Sep 2026 15:03:09 +0100 Subject: Leave U+180F visible, as HarfBuzz 10.2 does HarfBuzz's is_default_ignorable takes U+180B..180E from the Mongolian block, not the fourth free variation selector (U+180F, default ignorable since Unicode 14), so it keeps its own glyph rather than the invisible one. Unifont's Mongolian showed it. --- text/shape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/shape.c b/text/shape.c index 214d73b..4dd92da 100644 --- a/text/shape.c +++ b/text/shape.c @@ -573,7 +573,7 @@ static bool default_ignorable(uint32_t ch) { case 0x03: return ch == 0x034F; case 0x06: return ch == 0x061C; case 0x17: return ch >= 0x17B4 && ch <= 0x17B5; - case 0x18: return ch >= 0x180B && ch <= 0x180F; + case 0x18: return ch >= 0x180B && ch <= 0x180E; /* HarfBuzz 10.2 leaves out U+180F */ case 0x20: return (ch >= 0x200B && ch <= 0x200F) || (ch >= 0x202A && ch <= 0x202E) || (ch >= 0x2060 && ch <= 0x206F); case 0xFE: return (ch >= 0xFE00 && ch <= 0xFE0F) || ch == 0xFEFF; case 0xFF: return ch >= 0xFFF0 && ch <= 0xFFF8; -- cgit v1.2.3