← Back to team overview

ubuntukylin-members team mailing list archive

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

 

However, if I change "Droid Sans" to "Droid Sans Fallback", and I can
get sas-serif as "Droid Sans Fallback" although it is still different
from yours.

$ LANG=zh_TW.UTF-8 fc-match -a 'sans-serif' | head -n 20
DroidSansFallbackFull.ttf: "Droid Sans Fallback" "Regular"
uming.ttc: "AR PL UMing TW" "Light"
uming.ttc: "AR PL UMing HK" "Light"
ukai.ttc: "AR PL UKai TW" "Book"
ukai.ttc: "AR PL UKai HK" "Book"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
n019003l.pfb: "Nimbus Sans L" "Regular"
n019043l.pfb: "Nimbus Sans L" "Regular Condensed"
n019004l.pfb: "Nimbus Sans L" "Bold"
n019044l.pfb: "Nimbus Sans L" "Bold Condensed"
n019023l.pfb: "Nimbus Sans L" "Regular Italic"
n019063l.pfb: "Nimbus Sans L" "Regular Condensed Italic"
n019024l.pfb: "Nimbus Sans L" "Bold Italic"
n019064l.pfb: "Nimbus Sans L" "Bold Condensed Italic"
Waree.ttf: "Waree" "Book"
Waree-Bold.ttf: "Waree" "Bold"
Waree-Oblique.ttf: "Waree" "Oblique"
Waree-BoldOblique.ttf: "Waree" "BoldOblique"
Loma.ttf: "Loma" "Book"

-- 
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