[Fontconfig] Towards a 2.4 release

Keith Packard keithp at keithp.com
Tue Dec 20 23:20:15 PST 2005

On Wed, 2005-12-21 at 14:12 +0800, Zhe Su wrote:
> Hi,
>    I have new feature request: Is it possible to let fontconfig load
> different configuration according to the current system locale
> setting?

You can already detect the locale in cases where the application
provides no further language clue by looking in the lang field of the
pattern. Can you describe how this wouldn't be sufficient?

	<test name="lang">
	<edit name="family">

This forces use of Kochi Gothic whenever the lang is set to ja. Similar
hacks can be used to adjust other settings. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051220/ba41833b/attachment.pgp

More information about the Fontconfig mailing list