Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom editor fonts are blocked on Firefox when using Strict Enhanced Tracking Protection #561

Open
louie-github opened this issue Feb 26, 2025 · 1 comment
Labels
bug Something isn't working.

Comments

@louie-github
Copy link

Description

When using the Firefox's Enhanced Tracking Protection in its "Strict" level, the Typst web app cannot use custom editor fonts from the system. Trying to specify "JetBrains Mono NL" and inspecting the DevTools console gives the following error:

Request for font "JetBrains Mono NL" blocked at visibility level 2 (requires 3)

Tested on a fresh install of Firefox 135.0.1 (64-bit).

The issue goes away if you switch from Strict to Standard, or if you disable Enhanced Tracking Protection for typst.app.

I believe this is related to Firefox's browser fingerprinting detection.

Reproduction URL

No response

Browsers

Firefox

OS

Windows

@louie-github louie-github added the bug Something isn't working. label Feb 26, 2025
@laurmaedje
Copy link
Member

I'm not sure we can even do anything about this, since the browser intentionally hides the fonts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants