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">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Serif</string>
<string>Bitstream Vera Serif</string>
<string>HYSong</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>WenQuanYi Bitmap Song</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
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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1043031
Title:
fontconfig-voodoo is not included in language-selector-common
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1043031/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs