From: Keith Packard Date: Sun, 20 Apr 2003 04:44:09 +0000 (+0000) Subject: From James Su -- only part of page 0xff is Latin X-Git-Tag: fc-2_2_0~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=965f77940cbe9743f0f57f8333c49708d3f3dd8c;p=fontconfig.git From James Su -- only part of page 0xff is Latin --- 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; }