So if I ask for "serif" I get DejaVu and Bitstream Vera before getting any
others. This overrides the default selection for /all/ users, whereas before it
would only happen for zh_CN users due to the LANG test.
We could perhaps guard the "generic" fonts by a LANG test and leave the rest
unguarded?
Or just remove those ones altogether and add the others (in "append" mode?)?
It would help a lot if someone could test these options (you can edit the file
directly in /etc/fonts/conf.avail/) and report back what the best option is.
We need to make sure that users who do not have this locale/font don't see any
change.
I did this at ppa:laney/ language- selector.
It's not right, though. Let's take a look at 69-language- selector- zh-cn.conf as
an example.
<match target="pattern"> serif</ string> Bitstream Vera Serif</string> HYSong< /string> WenQuanYi Bitmap Song</string>
<test qual="any" name="family">
<string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Serif</string>
<string>
<string>
<string>AR PL UMing CN</string>
<string>AR PL UMing HK</string>
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL New Sung</string>
<string>
<string>AR PL UKai CN</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>
So if I ask for "serif" I get DejaVu and Bitstream Vera before getting any
others. This overrides the default selection for /all/ users, whereas before it
would only happen for zh_CN users due to the LANG test.
We could perhaps guard the "generic" fonts by a LANG test and leave the rest
unguarded?
Or just remove those ones altogether and add the others (in "append" mode?)?
It would help a lot if someone could test these options (you can edit the file conf.avail/ ) and report back what the best option is.
directly in /etc/fonts/
We need to make sure that users who do not have this locale/font don't see any
change.