From James Su -- only part of page 0xff is Latin

This commit is contained in:
Keith Packard 2003-04-20 04:44:09 +00:00
parent 29d961a28e
commit 965f77940c
1 changed files with 2 additions and 1 deletions

View 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;
}