[Pkg-fonts-devel] Bug#652516: Korean font breakage
Osamu Aoki
osamu_aoki_home at nifty.com
Thu May 8 13:33:58 UTC 2014
Hi,
On Thu, May 08, 2014 at 04:15:16AM +0900, Changwoo Ryu wrote:
> Installing hedgewars broke system default Korean font preference! I
> don't know why wqy-series maintainers keep Korean glyphs in their font
> series. They just make problems than benefits.
>
> How about using language specific pattern match, instead of <alias>? For
> example I have used this in fonts-nanum until Nanum was added to the
> fontconfig default config.
>
> ...
> <match target="pattern">
> <test qual="any" name="lang" compare="contains">
> <string>ko</string>
> </test>
> <test qual="any" name="family" compare="eq">
> <string>sans-serif</string>
> </test>
> <edit name="family" mode="prepend_first" binding="same">
> <string>NanumGothic</string>
> </edit>
> </match>
Interesting idea.
By the way, what sets "lang" to certain value. LANG environment?
Is there any way to set priority order for LANG=en via some
configuration script? Then we can solve this CJK font priority order
issue for fontconfig default config.
Osamu
More information about the Pkg-fonts-devel
mailing list