[Fontconfig] Re: Disabling font X for language Y

Mike FABIAN mfabian at suse.de
Fri Apr 23 21:19:57 EST 2004


Stefan Baums <baums at u.washington.edu> さんは書きました:

> Further puzzling aspects of this: The same problem does not occur
> with Greek, even though the situation seems to be parallel to the
> Cyrillic case, with the two Chinese fonts containing some Greek
> glyphs.  And neither "fc-list :lang=ru" nor "fc-list :lang=el"
> actually lists the Chinese fonts that based on visual appearance I
> identified as likely culprits.

These Chinese fonts are not complete enough neither for Russian nor
for Greek.

But Qt doesn't notice because Qt only checks U+0410 for Cyrillic
and U+0390 for Greek. If U+0410 is there, Qt assumes the font
supports Cyrillic, if U+0390 is there, Qt assumes the font supports
Greek.

As Qt doesn't check any other characters and doesn't ask fontconfig
whether the fonts really supports Russian or Greek, Qt will not notice
if important characters for Greek or Russian are missing.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。




More information about the Fontconfig mailing list