[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#907999: marked as done (fonts-noto-cjk: Unable to use system fonts in Firefox after #907048)



Your message dated Thu, 07 Nov 2019 00:49:34 +0000
with message-id <E1iSVzS-000IfJ-34@fasolo.debian.org>
and subject line Bug#907999: fixed in fonts-noto-cjk 1:20190410+repack1-2
has caused the Debian Bug report #907999,
regarding fonts-noto-cjk: Unable to use system fonts in Firefox after #907048
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
907999: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907999
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 ---
Source: fonts-noto-cjk
Source-Version: 1:20190410+repack1-2

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: Wed, 06 Nov 2019 19:15:10 -0500
Source: fonts-noto-cjk
Architecture: source
Version: 1:20190410+repack1-2
Distribution: unstable
Urgency: high
Maintainer: Debian Fonts Team <debian-fonts@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 907999
Changes:
 fonts-noto-cjk (1:20190410+repack1-2) unstable; urgency=high
 .
   * Team upload.
   * debian/70-fonts-noto-cjk.conf:
     Weaken font selection under Chinese locale from "prepend_first"
     to "prepend" with binding="strong" to prevent over-aggressive
     font selection on Noto CJK fonts in modern web browsers.
     (Closes: #907999)
   * debian/control:
     + Use debhelper-compat instead of debhelper as build-dep.
     + Bump Standards-Version to 4.4.1.
     + Use "Rules-Requires-Root: no".
Checksums-Sha1:
 efd54c750dce68ed6914cc39e3bda86f602ef294 2134 fonts-noto-cjk_20190410+repack1-2.dsc
 37dae58df12e34cbb07f691d6f4505a4ee00398b 5504 fonts-noto-cjk_20190410+repack1-2.debian.tar.xz
 ef712198a59869267d9bde61038bcfb7799ec06c 5831 fonts-noto-cjk_20190410+repack1-2_amd64.buildinfo
Checksums-Sha256:
 3f2f62c40607e83f6ff71fc389b731b37001a955cb77ce6c370b2035fbae215c 2134 fonts-noto-cjk_20190410+repack1-2.dsc
 d7a8201b60049f0831f343d9176aec480ab4cd53f260957bf93af92b8444822e 5504 fonts-noto-cjk_20190410+repack1-2.debian.tar.xz
 6fd368d4e68404c25a2ed4fa134adf916808c26509c10fd90802d19cc058d141 5831 fonts-noto-cjk_20190410+repack1-2_amd64.buildinfo
Files:
 10395cad81073f2c4f7501719a6da6fb 2134 fonts optional fonts-noto-cjk_20190410+repack1-2.dsc
 c86ad4b2a4a6f881087fdda04de6429e 5504 fonts optional fonts-noto-cjk_20190410+repack1-2.debian.tar.xz
 3c1e498029b8c95933e5e1f06d23203d 5831 fonts optional fonts-noto-cjk_20190410+repack1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAl3DZfEACgkQwpPntGGC
Ws4exw//WX46Sk2Y613ToSHga9YiwiLbK1LBPBIvVeMMcEzSOEdsdAyh+kXtQJbL
W79PkflWkQjb472+EwxiW3ChYQSDSc6pkVzYeTzCbkx+sTAiAkHp8Jta1V8Km4tY
VrdmU/7xAbhxu0hK2QZObq9cTxDfv0g/2JRQAHqBJ7+Lq+bIH7Y2wYyAufvx78Rn
LBzq1sZhMUQjUrQoQoJZBe14/2hsegrYrBHtdc2pQezA3c+PeSiO6jjImBV+lddR
VJ1A8fm99qKLSZRdoAChXxsG5qMx8v8FyUqHaiM905beCKkqsbW8V4c6dgwbVlct
ibm6krxtJBt66wYMV3cnazkKeTAf0cY9aX/BeZIEyP5SJqKy1RYaRcwqzC2k5SCg
tO3QbPlIk4R6/j7wTCIgAsxU4AG3YVJcjQ84P1wKJNC/SsdcKYqd3emio4t4zfFQ
ARwxQytDc1Ct2WNtBuBaSKT4o7TBp0hGDPlK4+ki7fI0GKqhmvzLecObHtMlPYNf
X/4ZmudAX6Ywb4vOaPVSYI/I9hiYkcK6nWoiRbSB7i9XYLoIU2fYOLCjhRQnnxV3
npU64icylcoS6JUso8p3KOv24XUA4iqbXtEZXgvs1oGOd6EDD7fcncw4M+vyZf25
+Vh1b1pTruKb+1NWdZbYwurrnKzqgU9yeroP4/+4E2etp0gBH7A=
=r8s6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: