Global config for fonts depending on language

Behdad Esfahbod behdad at behdad.org
Fri Oct 12 00:28:35 PDT 2007


On Fri, 2007-10-05 at 19:58 +0200, Gerrit Sangel wrote:
> 
> I knew of the opentype features, but do they automatically select the language 
> according to what is specified in e.g. xhtml? I thought this would maybe work 
> like a second font, which just shares most of the characters with another 
> font and is included in one opentype font. 

Pango 1.18 and later automatically select OpenType Language System based
on your set locale if higher level has not set it.  But yes, Firefox
passes language tags from xhtml down to Pango.  So it should work all
now.

-- 
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 xorg mailing list