Comment 0 for bug 1335482

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

In the 69-language-selector-zh-??.conf files we try to make Droid Sans the preferred font in case of a Chinese locale. However, suddenly this seems to not work any longer.

$ LANG=zh_CN.UTF-8 fc-match 'sans-serif'
uming.ttc: "AR PL UMing CN" "Light"
$ sudo sed -i 's/Droid Sans Fallback/Droid Sans/' \
> /etc/fonts/conf.avail/69-language-selector-zh-cn.conf
$ LANG=zh_CN.UTF-8 fc-match 'sans-serif'
DroidSansFallbackFull.ttf: "Droid Sans" "Regular"

It looks like the intended behaviour gets back if the family name is changed from "Droid Sans Fallback" to just "Droid Sans". I have noticed this on both 14.04 and 14.10, but have no idea of the reason for the changed behaviour.

* Does this affect others, or is it something with my machine?
* Should we replace "Droid Sans Fallback" with "Droid Sans" in those
  files?
* Undesired side effects if we do?