← Back to team overview

ubuntukylin-members team mailing list archive

[Bug 1335482] [NEW] Droid Sans no longer preferred font for Chinese

 

You have been subscribed to a public bug by Gunnar Hjalmarsson (gunnarhj):

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?

** Affects: language-selector (Ubuntu)
     Importance: High
     Assignee: Gunnar Hjalmarsson (gunnarhj)
         Status: In Progress

-- 
Droid Sans no longer preferred font for Chinese
https://bugs.launchpad.net/bugs/1335482
You received this bug notification because you are a member of Ubuntu Kylin Members, which is subscribed to the bug report.