[Fontconfig] Improving Latin font selection for CJK locales

Behdad Esfahbod behdad at behdad.org
Mon Jan 28 22:53:40 PST 2008


On Mon, 2008-01-28 at 17:39 -0500, Ed Trager wrote:
> 
> One more important thing is that the order of the subtags in BCP47 is
> languageCode-scriptCode-territory, i.e.:
> 
>      "fr-Latn-CA"
> 
> So it would seem that Pango, FontConfig, and the whole Linux / Free
> Desktop
> in general will want to just follow RFC 4646 / BCP47 (if they are not
> already doing
> just that).

Both pango and fontconfig support arbitrary locale tags.  They just
don't have any useful information for any but a select set of common
ones.  If anyone wants to see more added, they should first add it to
glibc's locale database, then request addition to fontconfig and Pango,
providing the needed data.  (Pango in fact generates one of its tables
out of fontconfig's data, the other one is mapping locale languages to
OpenType LangSys tags).

So, beating the wrong horse really.

-- 
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