From 965f77940cbe9743f0f57f8333c49708d3f3dd8c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 20 Apr 2003 04:44:09 +0000 Subject: [PATCH] From James Su -- only part of page 0xff is Latin --- src/fcfreetype.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 70642b5..df78b6e 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -124,7 +124,8 @@ FcUcs4IsLatin (FcChar32 ucs4) return FcTrue; if (page == 0xfb) return FcTrue; - if (page == 0xff) + /* halfwidth forms, don't include kana or white parens */ + if (0xff01 <= ucs4 && ucs4 <= 0xff5e) return FcTrue; return FcFalse; } -- 2.39.2