--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: fonts-noto-cjk: Unable to use system fonts in Firefox after #907048
- From: Kan-Ru Chen (陳侃如) <koster@debian.org>
- Date: Wed, 05 Sep 2018 08:59:41 +0900
- Message-id: <153610558172.5161.17891472791394965996.reportbug@shirokane.wara.tw>
Package: fonts-noto-cjk
Version: 1:20170601+repack1-3
Severity: normal
Dear Maintainer,
I think the changes made to the config is to aggressive. After this
change Firefox cannot use other system fonts other than Noto CJK TC
when my locale is set to zh_TW.
What Firefox currently does is, it constructs a pattern like
'{FamilyToFind}, -moz-sentinel' where -moz-sentinel should never be
substituted. Then it substitute the pattern recursively until it finds
all font family or the sentinel.
With the config change, even -moz-sentinel will be replaced by Noto
CJK TC so effectively all system fonts in CSS will only match Noto CJK
TC. To reproduce, load this snippet in Firefox and inspect the font
used (replace DejaVu Sans with any system font you installed):
data:text/html,<div style="font-family:DejaVu Sans">Hello</div>
One can argue that this is a bug in Firefox but my point is using
fontconifg matching list editing to control global fonts ordering is
error prone. What if some fonts installed config sorted later also
prepend? I think we should have a better mechanism to sort system
fonts globally and allow our user to customize. As currently is very
hard for users to customize the font order with user config without
guessing or try-n-error the rule installed by font packages.
Kanru
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), LANGUAGE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
fonts-noto-cjk depends on no packages.
fonts-noto-cjk recommends no packages.
Versions of packages fonts-noto-cjk suggests:
ii fonts-noto-cjk-extra 1:20170601+repack1-3
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 907999-close@bugs.debian.org
- Subject: Bug#907999: fixed in fonts-noto-cjk 1:20170601+repack1-3+deb10u1
- From: Boyuan Yang <byang@debian.org>
- Date: Sat, 09 Nov 2019 20:34:55 +0000
- Message-id: <E1iTXRf-000HKb-Jy@fasolo.debian.org>
Source: fonts-noto-cjk
Source-Version: 1:20170601+repack1-3+deb10u1
We believe that the bug you reported is fixed in the latest version of
fonts-noto-cjk, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 907999@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated fonts-noto-cjk package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 08 Nov 2019 13:10:08 -0500
Source: fonts-noto-cjk
Architecture: source
Version: 1:20170601+repack1-3+deb10u1
Distribution: buster
Urgency: medium
Maintainer: Debian Fonts Team <debian-fonts@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 907999
Changes:
fonts-noto-cjk (1:20170601+repack1-3+deb10u1) buster; urgency=medium
.
* Team upload.
* debian/70-fonts-noto-cjk.conf: Use "prepend" instead of
"prepend_first". This fixes over-aggressive font selection
of Noto CJK fonts in modern web browsers under Chinese locale.
(Closes: #907999)
Checksums-Sha1:
72f1ae3d000b7926573fa51962c4164307fee5b9 2160 fonts-noto-cjk_20170601+repack1-3+deb10u1.dsc
0a4a1362e42de697ed15f5b1a6a1a5fbabe3ca71 5348 fonts-noto-cjk_20170601+repack1-3+deb10u1.debian.tar.xz
02e0b13a144b428beb5dbc2e90869da03dc97e5d 5917 fonts-noto-cjk_20170601+repack1-3+deb10u1_amd64.buildinfo
Checksums-Sha256:
d2c51508c61f9b2822198ecf11cfddfdb180b3445fa5740db8ad0a8bb34431df 2160 fonts-noto-cjk_20170601+repack1-3+deb10u1.dsc
71f59fee6db7e97c4967a6d828729ebd051ead0274f73adfe27d3247974c2247 5348 fonts-noto-cjk_20170601+repack1-3+deb10u1.debian.tar.xz
fd76058b4f0cb041b4de6dbc8e63139237c6f3c1bc5b5aa8936848f320ab8c3c 5917 fonts-noto-cjk_20170601+repack1-3+deb10u1_amd64.buildinfo
Files:
d6c0404952e6319bd9b47df31b3a777a 2160 fonts optional fonts-noto-cjk_20170601+repack1-3+deb10u1.dsc
b6ffcbe1de83cb8d3b7ca187940df741 5348 fonts optional fonts-noto-cjk_20170601+repack1-3+deb10u1.debian.tar.xz
6dbebef4b5e06dcb9962fd589150d989 5917 fonts optional fonts-noto-cjk_20170601+repack1-3+deb10u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl3FuvkACgkQwpPntGGC
Ws4bOxAAkoUTRXMZBpd2yjdmDha1YtwkFIhyWvTRcfTFwooGBcYvHDzx119k4qI7
/dQPBJZG4waB9Nt0FpR9UEtXKkBz3Yo9YYFNtzyE1P0H0SRbEPP6dhJwnAOZ+DXR
oP+3K0wHG2MizhccPafWhQsDMx8LE+dbyqYoqH3DIKucr6on/0xd70ePH9BLiXYR
LJe6XS/8H6fAj343c/w8r3v1nY/mkw26M2LaYXt62bQKemhYY/m3taq0BbvOoFl0
Yy6Dc9P3WBKedHy4/AsedLEvVs8TDH59CyQTFid+czKQJTM2wqN237qsM3KbZBsj
UPX+BMXx5R3igX8IcQ3v6E7ysxRecpiPlR7kdfyPDvmhRehtMgEzj55yVYh7hdvx
DzAi5QmozL7mY8COjn6i2QgOO/ffi+hvyxSO7fFdKxL3tgjlSQpufPgQWHt0PTAd
m5pCLP6xrekghC0TY0KlkpBiq6GxLmrP4VlgSdw6OGVXLexz7D9duJlCNkn4R67P
tiREB8PszAEnsDzFVbjwl3NL62aE9tC+PNa1fBFPTDNpyOwuI5ikHNZEg0poPkDI
+/D2R4rHlYRJKr1mUpaznH197Ej/H79aj7WEFIXioCJpzQ/ZDPGlg8jZGv/3emDj
UQuCraWd7HlzftEPjqDbelegHYJqWUtNufSFBoSrdV9/a4q9OJk=
=nQmS
-----END PGP SIGNATURE-----
--- End Message ---