Open Bug 1861270 Opened 11 months ago Updated 11 months ago

Latest snap no longer displays fonts in /usr/local/share/fonts

Categories

(Core :: Layout: Text and Fonts, defect)

Firefox 119
defect

Tracking

()

UNCONFIRMED

People

(Reporter: me, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

Install Firefox 119 (snap) on Ubuntu 22.04.3 LTS x86_64. Place custom fonts in /usr/local/share/fonts and refresh the cache with fc-cache fv. Verify the new fonts are available in fc-list. Then open a web page that uses one of those fonts.

Actual results:

Any fonts in /usr/local/share/fonts are not usable; instead, the default font is shown. However, fonts in /usr/share/fonts are usable.

Expected results:

The fonts in /usr/local/share/fonts should be usable. This was working with previous versions of the snap prior to the most recent upgrade to version 119.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core
Component: Layout: Text and Fonts → Widget: Gtk
Flags: needinfo?(lissyx+mozillians)

I dont reproduce. Please share snap info firefox; snap info snapd as well as snap connections firefox

Flags: needinfo?(lissyx+mozillians) → needinfo?(me)

Also maybe journalctl -fxe

Just to make sure, do you reproduce only with snap package or also with deb/targz ? If you were provided older builds, do you think you could try and pinpoint a range of regression ?

I tracked down the problem to this entry in the release notes:

The visibility of fonts to websites has been restricted to system fonts and language pack fonts in Enhanced Tracking Protection strict mode to mitigate font fingerprinting.

After unchecking "Suspected Fingerprinters" fonts work again. That feature seems overly restrictive. I think there should be a way to add exceptions for a handful of my favorite fonts.

Flags: needinfo?(me)

I'll defer to people knowledgeable about fonts

Johnathan, do you know ?

Flags: needinfo?(jfkthame)
Component: Widget: Gtk → Layout: Text and Fonts
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: