summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-04-20 04:44:09 +0000
committerKeith Packard <keithp@keithp.com>2003-04-20 04:44:09 +0000
commit965f77940cbe9743f0f57f8333c49708d3f3dd8c (patch)
treebf621f8007b76e3f07c5e5dbea96c49d4b6910a9
parent29d961a28e231302683577328ed4724319805a7f (diff)
From James Su -- only part of page 0xff is Latin
-rw-r--r--src/fcfreetype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 70642b50..df78b6e6 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;
}