Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1034363: firefox: Non-default fonts no longer work

365 views
Skip to first unread message

Rishi Cutchin

unread,
Apr 13, 2023, 1:20:05 PM4/13/23
to
Package: firefox
Version: 112.0-1
Severity: normal
X-Debbugs-Cc: rishin...@gmail.com

Dear Maintainer,


Updated firefox, no longer able to render Terminus font that I was using
before and I am forced to switch to the default. When loading Firefox
with Terminus set gives this error.

"[ERROR glean_core] Error setting metrics feature config:
Json(Error("EOF while parsing a value", line: 1, column: 0))"

Some testing with other fonts appeared to replicate the behavior.



-- Package-specific info:


-- Addons package information

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

Kernel: Linux 6.1.0-7-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages firefox depends on:
ii debianutils 5.7-0.4
ii fontconfig 2.14.1-4
ii libasound2 1.2.8-1+b1
ii libatk1.0-0 2.46.0-5
ii libc6 2.36-8
ii libcairo-gobject2 1.16.0-7
ii libcairo2 1.16.0-7
ii libdbus-1-3 1.14.6-1
ii libdbus-glib-1-2 0.112-3
ii libevent-2.1-7 2.1.12-stable-8
ii libffi8 3.4.4-1
ii libfontconfig1 2.14.1-4
ii libfreetype6 2.12.1+dfsg-4
ii libgcc-s1 12.2.0-14
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1
ii libglib2.0-0 2.74.6-1
ii libgtk-3-0 3.24.37-2
ii libnspr4 2:4.35-1
ii libnss3 2:3.89-2
ii libpango-1.0-0 1.50.12+ds-1
ii libstdc++6 12.2.0-14
ii libvpx7 1.12.0-1
ii libx11-6 2:1.8.4-2
ii libx11-xcb1 2:1.8.4-2
ii libxcb-shm0 1.15-1
ii libxcb1 1.15-1
ii libxcomposite1 1:0.4.5-1
ii libxdamage1 1:1.1.6-1
ii libxext6 2:1.3.4-1+b1
ii libxfixes3 1:6.0.0-2
ii libxrandr2 2:1.5.2-2+b1
ii libxtst6 2:1.2.3-1.1
ii procps 2:4.0.2-3
ii zlib1g 1:1.2.13.dfsg-1

Versions of packages firefox recommends:
ii libavcodec58 7:4.3.5-0+deb11u1
ii libavcodec59 7:5.1.3-1
ii libavcodec60 7:6.0-1

Versions of packages firefox suggests:
ii fonts-lmodern 2.005-1
pn fonts-stix | otf-stix <none>
ii libcanberra0 0.30-10
ii libgssapi-krb5-2 1.20.1-1+b1
ii pulseaudio 16.1+dfsg1-2+b1

-- no debconf information

marillat

unread,
Apr 14, 2023, 5:40:04 AM4/14/23
to
On Thu, 13 Apr 2023 10:11:16 -0700 Rishi Cutchin <rishin...@gmail.com> wrote:

[...]

> Updated firefox, no longer able to render Terminus font that I was using
> before and I am forced to switch to the default. When loading Firefox
> with Terminus set gives this error.
>
> "[ERROR glean_core] Error setting metrics feature config:
> Json(Error("EOF while parsing a value", line: 1, column: 0))"
>
> Some testing with other fonts appeared to replicate the behavior.

I see the same.

Christian

Andras Korn

unread,
Apr 14, 2023, 10:30:05 AM4/14/23
to
Hi,

possibly related: since upgrading to 112.0, some custom fonts set by websites are no longer rendered.

For example, on https://www.teletal.hu/etlap/16, there is supposed to be a leftmost column of row labels in the table, saying "RE1", "RE2", "A1", "A2" and so on.

If the setting "Allow pages to choose their own fonts, instead of your selections above" (browser.display.use_document_fonts) is enabled, these labels are invisible (you can select them and their space will be highlighted, but the letters are not rendered).

Disabling use_document_fonts causes the labels to be rendered correctly (in the font chosen in the preferences).

The same problem occurs with most text on facebook.com and messenger.com as well.

I was able to replicate this with a blank new browser profile, using firefox 112.0-1 and up to date sid as of today.

András

--
I ? Unicode.

marillat

unread,
Apr 15, 2023, 3:00:04 AM4/15/23
to
On Fri, 14 Apr 2023 16:17:56 +0200 Andras Korn <korn-d...@elan.rulez.org> wrote:
> Hi,

Hi,


[...]

> If the setting "Allow pages to choose their own fonts, instead of your selections above" (browser.display.use_document_fonts) is enabled, these labels are invisible (you can select them and their space will be highlighted, but the letters are not rendered).
>
> Disabling use_document_fonts causes the labels to be rendered correctly (in the font chosen in the preferences).

This fix the problem for me.

Christian

Thomas Schwinge

unread,
Apr 17, 2023, 10:10:04 AM4/17/23
to
Hi!

I too temporarily forced 'browser.display.use_document_fonts' to '0' in
order to work around this issue, with Debian unstable firefox 112.0-1.


I suppose it is <https://bugzilla.mozilla.org/show_bug.cgi?id=1827950>
"Text becomes transparent on various sites, e.g. when a webfont" that
we're running into? "Opened 4 days ago" -- "Closed 2 days ago", so a
patch appears to be available.


Grüße
Thomas

Christian Marillat

unread,
Apr 17, 2023, 10:20:04 AM4/17/23
to
0 new messages