← Back to team overview

ubuntukylin-members team mailing list archive

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

 

Hi Gunnar,

I just installed ubuntu 14.04.1 today. :)

However, in my system, the output of the fc-match is

$ LANG=zh_TW.UTF-8 fc-match 'sans-serif'
DroidSans.ttf: "Droid Sans" "Regular"

and the sorted matching font list is
$ LANG=zh_TW.UTF-8 fc-match -s 'sans-serif'
DroidSans.ttf: "Droid Sans" "Regular"
uming.ttc: "AR PL UMing TW" "Light"
uming.ttc: "AR PL UMing HK" "Light"
ukai.ttc: "AR PL UKai TW" "Book"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
Waree.ttf: "Waree" "Book"
DroidSansFallbackFull.ttf: "Droid Sans Fallback" "Regular"

And you can see Droid Sans Fallback is far away from Droid Sans, so the
CJK characters of sans-serif style will display as AR PL UMing which is
a serif style font. Any edit to font family name of "Droid Sans
Fallback" won't make it become real "Droid Sans". They are still two
instances.

If we DO want to use "Droid Sans" instead of "Droid Sans Fallback" here.
The only way is to bind them together to make them as one font.

-- 
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:
  Fix Released

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