From James Su -- only part of page 0xff is Latin
authorKeith Packard <keithp@keithp.com>
Sun, 20 Apr 2003 04:44:09 +0000 (04:44 +0000)
committerKeith Packard <keithp@keithp.com>
Sun, 20 Apr 2003 04:44:09 +0000 (04:44 +0000)
src/fcfreetype.c

index 70642b5..df78b6e 100644 (file)
@@ -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;
 }