2007/7/27, Pat Suwalski <pat@xxxxxxxxxxxx>: > Hello, > > I was wondering if anyone might have some insight into a fontconfig > problem I'm having. I'm hoping to solve it without actually changing > code, but that is always a possibility. > > I installed an Arphic Chinese font. In the en_US.UTF-8 locale it looks > great, because programs like Firefox will use DejaVu for the latin text > and only use the Chinese characters from the Arphic font as needed. > > In the zh_CN.UTF-8 locale it seems that the Arphic font magically has > priority. Pages in Firefox look terrible because it uses the cruddy > monotype latin characters from the Arphic font. > > To work around this I made a strong binding for DejaVu Sans. This worked > well throughout, except it broke one program: Flash. I guess Flash isn't > smart enough to fall through font matches. It would attempt to get a > Chinese character, look in DejaVu Sans, not find it, and then not fall > through. So, it would draw a missing character box. > > My most recent approach has been to actually edit the Arphic font, and > remove everything except the CJK glyphs. Then, without specifying a > strong binding for DejaVu, everything seems to work well in both > locales. However, this is a rather drastic approach that could have very > bad side effects in all sorts of places, like printing. > > So, my question is, is there a way to make fontconfig behave in the > Chinese locale as it does in the English one? That is because digits and punctuations are not marked as any languages. > > Thanks, > --Pat > _______________________________________________ > Fontconfig mailing list > Fontconfig@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/fontconfig > _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig