Latest snap no longer displays fonts in /usr/local/share/fonts
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: me, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
90.46 KB,
image/png
|
Details |
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.
Comment 1•11 months ago
|
||
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.
Updated•11 months ago
|
Comment 2•11 months ago
|
||
I dont reproduce. Please share snap info firefox; snap info snapd
as well as snap connections firefox
Comment 3•11 months ago
|
||
Also maybe journalctl -fxe
Comment 4•11 months ago
|
||
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 ?
Reporter | ||
Comment 5•11 months ago
|
||
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.
Comment 6•11 months ago
|
||
I'll defer to people knowledgeable about fonts
Johnathan, do you know ?
Updated•11 months ago
|
Description
•