[Bug 1595414] Re: Awful generic selection for zh in Firefox

Gunnar Hjalmarsson 1595414 at bugs.launchpad.net
Sun Jun 26 13:34:36 UTC 2016


A simple test on 14.04 is to rename the symlink

/etc/fonts/conf.d/65-fonts-arphic-ukai.conf

to

/etc/fonts/conf.d/66-fonts-arphic-ukai.conf
-------------------^

$ LC_CTYPE=en_US.UTF-8 fc-match -a | grep -iE '(ar pl|droid)' | head -7
DroidSansFallbackFull.ttf: "Droid Sans Fallback" "Regular"
uming.ttc: "AR PL UMing CN" "Light"
uming.ttc: "AR PL UMing HK" "Light"
uming.ttc: "AR PL UMing TW" "Light"
ukai.ttc: "AR PL UKai CN" "Book"
ukai.ttc: "AR PL UKai HK" "Book"
ukai.ttc: "AR PL UKai TW" "Book"

Would that improve things?

It would give UKai lower precedence than the Chinese fonts preferred via
65-nonlatin.conf, but OTOH the latter are not included in the Chinese
language support in Ubuntu 14.04+.

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

Title:
  Awful generic selection for zh in Firefox

Status in fonts-arphic-ukai package in Ubuntu:
  New
Status in fonts-arphic-uming package in Ubuntu:
  New
Status in language-selector package in Ubuntu:
  New
Status in fonts-arphic-ukai source package in Trusty:
  New
Status in fonts-arphic-uming source package in Trusty:
  New
Status in language-selector source package in Trusty:
  New

Bug description:
  In https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/fonts-
  arphic-ukai/wily/revision/6, UMing and UKai are set as generics for
  fonts. However, this set of generics is completely intolerable --
  setting UKai as a generic is like setting Zapfino and/or Comic Sans as
  a system-wise generic, while UMing as a normal (just a bit thin) serif
  sounds a bit better. This yields terrible results on non-Chinese
  systems with non-Chinese lang-attributed websites, like Twitter, on
  Ubuntu 14.04 LTS after installing Chinese language support which
  includes the two arphic fonts mentioned in this report.

  This problem is similar to
  https://bugs.freedesktop.org/show_bug.cgi?id=20911, a long-standing
  system-global fontconfig non-latin fallback problem. See also bug
  #1560548 where these generic settings are considered as 'redundant'
  and proposed for deletion. I have mentioned a third-person report
  about such selection in #1560548 previously, but I have just
  reproduced this bug by myself by installing zh-cn support by mistake.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fonts-arphic-ukai/+bug/1595414/+subscriptions



More information about the foundations-bugs mailing list