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

Gunnar Hjalmarsson 1335482 at bugs.launchpad.net
Sat Jun 28 19:50:21 UTC 2014


Public bug reported:

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1335482

Title:
  Droid Sans no longer preferred font for Chinese

Status in “language-selector” package in Ubuntu:
  In Progress

Bug description:
  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1335482/+subscriptions



More information about the foundations-bugs mailing list