[Fontconfig] Improving Latin font selection for CJK locales

Behdad Esfahbod behdad at behdad.org
Tue Jan 29 01:35:06 PST 2008


On Tue, 2008-01-29 at 04:06 -0500, Pat Suwalski wrote:
> Behdad Esfahbod wrote:
> > Note that the request here is to allow such a behavior.  Qianqian has
> > been looking for a way to force Pango to use the bitmap Latin glyphs in
> > the Chinese font for Latin.  That's what Pango currently can't be
> > instructed to do without changing the default Latin font for en_US
> > locales too.
> 
> Ah, so it's opposite. :)

Yes.

> I assume he wants the latin from the Chinese so that it is monospaced in 
> the same fashion?

That's one reason.

> Otherwise, the fonts made for latin text are typically far superior.

This is quite objective it seems!

> I know what I'm about to say is totally silly, but I once managed to 
> achieve what I wanted by deleting the latin characters from the Chinese 
> font altogether.  Then I found a slightly cleaner fontconfig way of 
> doing it.

Actually IMO if the Latin glyph are crappy, removing them is the single
most correct solution.

> But the fact that it behaves differently by locale is problematic when 
> the config was specified. In my case, it would be ideal if it were 
> always treated as in en_US.
> 
> --Pat
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the Fontconfig mailing list