On 12/04/2011 08:54 PM, Jinkyu Yi wrote:
> Gunnar,
>
>> What is the "lang" option in fontconfig?
>
> I mean, something like this...
>
> <test qual="any" name="lang" compare="contains">
> <string>ko</string>
> </test>
>
> This code make NanumGothic, NanumMyeongjo, NanumGothicCoding is default font for Sans, Serif, Monospace only at Korean locale.
> But it's not working at latest Ubuntu, in my test.
> And according to LP: #884645, I think it is not working for Japanese locale, too.
I remember it works on my Ubuntu 10.10, but I haven't tried on newer
Ubuntu releases.
However, the 'lang' tester is useful for other scenarios, namely when
you use a non-Korean locale and want to browse Korean websites, or text
snippets which have been tagged with lang=ko in their XML/HTML markup.
In that case firefox at least will choose the correct font automatically
if it hasn't been specified in the XML/HTML markup itself.
Also, at least on Ubuntu 10.10 that works.
Not sure if other applications also support that functionality.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 12/04/2011 08:54 PM, Jinkyu Yi wrote:
> Gunnar,
>
>> What is the "lang" option in fontconfig?
>
> I mean, something like this...
>
> <test qual="any" name="lang" compare="contains">
> <string>ko</string>
> </test>
>
> This code make NanumGothic, NanumMyeongjo, NanumGothicCoding is default font for Sans, Serif, Monospace only at Korean locale.
> But it's not working at latest Ubuntu, in my test.
> And according to LP: #884645, I think it is not working for Japanese locale, too.
I remember it works on my Ubuntu 10.10, but I haven't tried on newer enigmail. mozdev. org/
Ubuntu releases.
However, the 'lang' tester is useful for other scenarios, namely when
you use a non-Korean locale and want to browse Korean websites, or text
snippets which have been tagged with lang=ko in their XML/HTML markup.
In that case firefox at least will choose the correct font automatically
if it hasn't been specified in the XML/HTML markup itself.
Also, at least on Ubuntu 10.10 that works.
Not sure if other applications also support that functionality.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iQIcBAEBCAAGBQJ O3DQWAAoJENiwmJ tstTzslz0QALXwC D7thb168kTjLxNs bR6X 0zHvS/je6SrQnqw H7X5IgohccLPKEl 5Q5TzneIVj6QX96 +6rb xLymcjk+ 1VJwQTtAcE4brDF Q6WlC27cuaeAgeV 3ukM9G6tBKB nOCLaFO7Bz94N1i rgZn630mSqAg4Uy j25ubEIbgZkm005 xV6w TwpWAsqf5hc7xgR IXM12l9n/ ijPmu0/ LM0WEZaZMSQCTEp 4pS 73L1UV6cPmuCew+ yDPNU8QtMMePzXN Ulw8//M7jmLL87R Fdsk wKfbE9aWfZ7aFnu Qwre6H81lDuwazJ jaJgze5fcQf6E5C hYaE 3oiZvp/ LnQLN/aiy23iPys +KlwpDxO/ w8/+n+dsVchlX20 Mzt 18bJcemK0hX4lOc ZIbt5JCzO+ RczG9gmPxW+ 5oLlllLBnXnJQ AlVHJ+3i0E/ rBMsQaZ6v0LkUQU aBA2qUkvFYg8qax golXcXjF wJ20gGdBEeT8Uc1 +kU3XdIVuGU6SLd 9QjIVfWsTYOi42x rqJx A6Cak
T/i/uBdU3UrYuU7
1Gnolie6YaO30QM
3avp23qoU99VKh2
FOLWN54mUOD5RAS
Vc1G6LsyUeHoGd7
0qx9xod7RM8YqdF
ewB4a/bAAmHLjuO
DezXJwAoERqLVRe
Zl5OyZKd2znAk3o
tMBCecWw8DQMrqn
N82xF0zCjqWEIR8
=r0SI
-----END PGP SIGNATURE-----