Prerequisites
I tried to reproduce the issue when...
Description
I have font awesome installed on my system (installed via apk add font-awesome).
If I enable Block remote fonts on uBlock origin, when I visit a website which uses FontAwesome, the remote font is blocked. However, the font available on my local system is not used either (the expectation is that it should).
On the other hand, if I visit a page which specifies this same font in a font-family without trying to load the font from a remote server, it is not blocked. E.g.: If I put this on an empty HTML page that doesn't load any custom fonts, it renders fine:
<div style="font-family: 'FontAwesome'"></div>
This can be generalised to all fonts; if remote fonts are blocked, system fonts that are available are not used either.
It would seem that "block remote fonts" also blocks system fonts with a matching name.
A specific URL where the issue occurs.
https://vdirsyncer.pimutils.org/en/stable/
https://rust-lang.github.io/mdBook/
Steps to Reproduce
- Install FontAwesome font on your system.
- Block remote fonts on uBlock origin
- Visit https://rust-lang.github.io/mdBook/
You can really use any other font to reproduce, you just have to install it first, and then visit a website using that font.
Expected behavior
Blocking remote fonts should not block system fonts.
Actual behavior
Blocking remote fonts blocks system fonts with the same name.
uBO version
1.56.0
Browser name and version
firefox-123.0-r3
Operating System and version
Alpine Linux Edge
Prerequisites
I tried to reproduce the issue when...
Description
I have
font awesomeinstalled on my system (installed viaapk add font-awesome).If I enable
Block remote fontson uBlock origin, when I visit a website which usesFontAwesome, the remote font is blocked. However, the font available on my local system is not used either (the expectation is that it should).On the other hand, if I visit a page which specifies this same font in a
font-familywithout trying to load the font from a remote server, it is not blocked. E.g.: If I put this on an empty HTML page that doesn't load any custom fonts, it renders fine:This can be generalised to all fonts; if remote fonts are blocked, system fonts that are available are not used either.
It would seem that "block remote fonts" also blocks system fonts with a matching name.
A specific URL where the issue occurs.
Steps to Reproduce
You can really use any other font to reproduce, you just have to install it first, and then visit a website using that font.
Expected behavior
Blocking remote fonts should not block system fonts.
Actual behavior
Blocking remote fonts blocks system fonts with the same name.
uBO version
1.56.0
Browser name and version
firefox-123.0-r3
Operating System and version
Alpine Linux Edge