[Fontconfig] Towards a 2.4 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

<match>
	<test name="lang">
		<string>ja</string>
	</test>
	<edit name="family">
		<string>??????</string>
	</edit>
</match>

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

-keith

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

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux