[Pkg-fonts-devel] Bug#854772: fonts-noto-cjk: JP font was always (wrongly) selected under Chinese locale
Boyuan Yang
073plan at gmail.com
Fri Feb 10 07:39:00 UTC 2017
Package: fonts-noto-cjk
Version: 1:1.004+repack2-1
Severity: important
Tags: upstream
On any Debian system with fonts-noto-cjk installed with Chinese locale (e.g.,
zh_CN.UTF-8),
The JP font ("Noto Sans CJK JP" "Medium") always has a higher priority than
SC/TC font
("Noto Sans CJK SC" "Medium"), which is apparently a bug.
I believe this is an (upstream) bug in the font, not fontconfig. Someone said
that it is
because the JP font itself declared "zh" in "lang" attribute. But anyway we
should find
a way to fix it.
To reproduce it:
* Install a fresh Debian Stretch system, enable zh_CN.UTF-8 locale.
* Install fonts-noto-cjk.
* "fc-match -a sans" will match JP font.
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
More information about the Pkg-fonts-devel
mailing list