Commit 16a71eff authored by Patrick Lam's avatar Patrick Lam
Browse files

Treat zh-hk fonts differently from zh-tw fonts. This patch may cause

    fontconfig to treat A-X fonts differently from A-Y fonts; please mail
    the fontconfig list if this causes any problems.
reviewed by: plam
parent 6f9fcb51
2006-01-24 James Su <james.su@gmail.com>
reviewed by: plam
* src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
* fc-lang/zh_hk.orth:
Treat zh-hk fonts differently from zh-tw fonts. This patch may
cause fontconfig to treat A-X fonts differently from A-Y fonts;
please mail the fontconfig list if this causes any problems.
2006-01-24 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
* src/fcfreetype.c (FcFreeTypeQuery):
......
......@@ -2237,4 +2237,4 @@
9F99
9F9F
9FA5
F907
20547
......@@ -97,7 +97,7 @@ FcFreeTypeIsExclusiveLang (const FcChar8 *lang)
for (i = 0; i < NUM_CODE_PAGE_RANGE; i++)
{
if (FcLangCompare (lang, FcCodePageRange[i].lang) != FcLangDifferentLang)
if (FcLangCompare (lang, FcCodePageRange[i].lang) == FcLangEqual)
return FcTrue;
}
return FcFalse;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment