ubuntukylin-members team mailing list archive
-
ubuntukylin-members team
-
Mailing list archive
-
Message #03703
[Bug 1335482] Re: Droid Sans no longer preferred font for Chinese
Can't reproduce on an updated 14.04.
$ dpkg-query -W language-selector-common fonts-droid
fonts-droid 1:4.3-3ubuntu1
language-selector-common 0.129.2
$ LANG=zh_TW.UTF-8 fc-match -a 'sans-serif' | head -n 20
DroidSansFallbackFull.ttf: "Droid Sans" "Regular"
DroidSans.ttf: "Droid Sans" "Regular"
DroidNaskh-Regular.ttf: "Droid Sans" "Regular"
DroidSansEthiopic-Regular.ttf: "Droid Sans" "Regular"
DroidSansHebrew-Regular.ttf: "Droid Sans" "Regular"
DroidSansThai.ttf: "Droid Sans" "Regular"
DroidSansArmenian.ttf: "Droid Sans" "Regular"
DroidSansGeorgian.ttf: "Droid Sans" "Regular"
DroidSansJapanese.ttf: "Droid Sans" "Regular"
DroidSansHebrew-Bold.ttf: "Droid Sans" "Bold"
DroidSans-Bold.ttf: "Droid Sans" "Bold"
DroidNaskh-Bold.ttf: "Droid Sans" "Bold"
DroidSansEthiopic-Bold.ttf: "Droid Sans" "Bold"
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.ttf: "DejaVu Sans" "Book"
DejaVuSansCondensed.ttf: "DejaVu Sans" "Condensed"
On 2014-07-30 13:58, Cheng-Chia Tseng wrote:> 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.
Well, the whole idea is to get DroidSansFallbackFull.ttf to the top of
the list, and the reason why I changed it is that the "Droid Sans
Fallback" strings in the 69-language-selector-zh-??.conf files were
ignored.
Do you possibly have own fontconfig configuration files that might
affect this?
--
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