[Fontconfig] any possible trouble by adding lang to the pattern by default

Keith Packard keithp at keithp.com
Tue May 29 10:39:49 PDT 2012


Akira TAGOH <akira at tagoh.org> writes:

> $ LANG=ja ./fc-match/fc-match
> VL-PGothic-Regular.ttf: "VL P´·Ã¯" "regular"
> $ LANG=zh_CN ./fc-match/fc-match
> wqy-zenhei.ttc: "‡ÉcÑ" "Regular"
> $ LANG=en_US ./fc-match/fc-match
> DejaVuSans.ttf: "DejaVu Sans" "Book"
> $ FC_DEBUG=4 FC_LANG=ja:zh-cn LANG=en_US ./fc-match/fc-match
> ...
> FcConfigSubstitute Pattern has 1 elts (size 16)
>         lang: "ja"(w) "zh-cn"(w)

Ah, ok. I do this in my .fonts.conf file today. Would an environment
variable really be more useful?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20120529/2b8c1afc/attachment.pgp>


More information about the Fontconfig mailing list