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

Font blurring doesn't work on Firefox #93

Open
acwooding opened this issue Feb 26, 2025 · 4 comments
Open

Font blurring doesn't work on Firefox #93

acwooding opened this issue Feb 26, 2025 · 4 comments
Assignees

Comments

@acwooding
Copy link
Collaborator

acwooding commented Feb 26, 2025

This is reproducible on Firefox with multiple examples (not just cord19). It works fine in tests on chromium and seems to be fine in Safari as well.

Note: I'll add more browsers to the UI tests so we can catch stuff like this.

Image
@lmcinnes
Copy link
Contributor

I working on fixes for this right now, so hopefully I'll have soemthing soon.

@lmcinnes
Copy link
Contributor

I'm having some issues managing to remedy this properly. Essentially the problem is that deck.gl is not loading the font for the TextLayers (at least some of them). I've tried to enforce font loading in javascript prior to creating the text layers but that seems to have limited success. A refresh of the page/plot generally also solves the issue, but is less than desirable.

The only alternative I see right now is backing out the variable weight fonts for labels which is, unfortunately an otherwise quite useful feature. Suggestions are welcome.

@lmcinnes
Copy link
Contributor

lmcinnes commented Feb 28, 2025

I have an issue in visgl/deck.gl#9479 that may help clarify some of the issues here.

@lmcinnes
Copy link
Contributor

This looks like it is going to be hard to fix without something upstream in deck.gl, so I'm going to roll back the PR that added the variable weight fonts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants