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
This commit is contained in:
parent
6f9fcb5186
commit
16a71eff3e
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue