Skip to content

More font loading improvements #1307

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

Merged
merged 1 commit into from
May 16, 2025
Merged

More font loading improvements #1307

merged 1 commit into from
May 16, 2025

Conversation

ahocevar
Copy link
Member

Firefox sometimes stores fonts in a FontFace with leading and trailing quotes, so we need to normalize that. And to safeguard against different case on the font family name used in the @fontface, we should compare font family names in lowercase.

@ahocevar ahocevar merged commit c800564 into main May 16, 2025
1 check passed
@ahocevar ahocevar deleted the font-loading-revisited branch May 16, 2025 15:38
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

Successfully merging this pull request may close these issues.

1 participant