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

Bug#983622: fonts-baekmuk: ugly rendering of webfonts in firefox since buster update



Package: fonts-baekmuk
Version: 2.2-13
Severity: normal

Dear Maintainer,

since the update from stretch to buster I observe that on some web
pages fonts look ugly in firefox like on https://www.checkpoint.com
(see attached screenshot withbaekmuk.png).

I observed this only on one of my machines and only with firefox, not
with chrome or chromium.
Locally installed fonts aren't a problem only web fonts and only if
they are small (scaling up the hole page in firefox or using right
mouse button "Inspect Element" and then increase font size to >=23 in
the Fonts tab solves the issue).

Comparing /etc/fonts/conf.d of the machine with the issue and a
different machine showed, me that the file that triggers the issue is
90-fonts-baekmuk.conf which disables antialias and hinting on
pixelsize <=22 for the Baekmuk* fonts.

I don't understand why this has an effect on web fonts (for example
the "DIN WXX Regular" font on the checkpoint web page), since these
fonts do not match the Baekmuk* font family name.

Maybe this is a bug in Firefox (I observed it at least in 52.9.0esr,
78.7.0esr and 86.0), that interprets the two <test> tags in the
<match> as "match any" instead of "match all" (according
https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
_all_ <test>s should be matched), but since fonts-baekmuk is the only
package on my system that triggers this issue, I report it here.

Adding 
 <test name="prgname" compare="not_contains"><string>firefox</string><test>
to at least one of the <match>es in 90-fonts-baekmuk.conf also works
around this issue for me (I expected, that it would be needed in all
<match> tags, but one of them seems to be enough as a workaround... 

Greetings
Roland

-- System Information:
Debian Release: 10.8
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-14-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf-8, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8), LANGUAGE=de_DE:de:en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Attachment: withbaekmuk.png
Description: PNG image

Attachment: withoutbaekmuk.png
Description: PNG image

Attachment: signature.asc
Description: PGP signature


Reply to: