← Back to team overview

ubuntukylin-members team mailing list archive

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

 

Thanks, Aron. It's in the queue now.

** Changed in: language-selector (Ubuntu Trusty)
       Status: Confirmed => In Progress

** Changed in: language-selector (Ubuntu Trusty)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

** Description changed:

+ [Impact]
+ 
  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.
+ seems to not work any longer. The number of affected users is
+ significant.
  
+ [Test Case]
+ 
+ How to reproduce:
+ 
+ $ sudo locale-gen zh_CN.UTF-8
  $ 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'
+ 
+ After the change, the response is the expected
+ 
  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.
+ Before the change, the response is something else.
  
- * 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?
+ [Regression Potential]
+ 
+ This makes the intended (and previously working) behaviour effective. No
+ undesired side effects identified.

-- 
You received this bug notification because you are a member of Ubuntu
Kylin Members, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1335482

Title:
  Droid Sans no longer preferred font for Chinese

Status in “language-selector” package in Ubuntu:
  Fix Released
Status in “language-selector” source package in Trusty:
  In Progress

Bug description:
  [Impact]

  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. The number of affected users is
  significant.

  [Test Case]

  How to reproduce:

  $ sudo locale-gen zh_CN.UTF-8
  $ LANG=zh_CN.UTF-8 fc-match 'sans-serif'

  After the change, the response is the expected

  DroidSansFallbackFull.ttf: "Droid Sans" "Regular"

  Before the change, the response is something else.

  [Regression Potential]

  This makes the intended (and previously working) behaviour effective.
  No undesired side effects identified.

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