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

Add woff2 support #138

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Add woff2 support #138

merged 2 commits into from
Sep 17, 2024

Conversation

kokoISnoTarget
Copy link
Contributor

This adds support for woff2 and filters out unsupported font types.

Copy link
Collaborator

@nicoburns nicoburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Do you know of any example websites where Blitz can successfully load web fonts (woff2, ttf, or otf)? None of the websites I have tried it on so far actually seem to render any differently to before font-face support landed.

@nicoburns nicoburns enabled auto-merge (squash) September 17, 2024 12:40
@nicoburns nicoburns merged commit bbeb0dd into DioxusLabs:main Sep 17, 2024
8 checks passed
@nicoburns
Copy link
Collaborator

Update: turns out my own personal website (https://nicoburns.com) now renders text properly (previously no text was rendered).

@nicoburns nicoburns mentioned this pull request Oct 6, 2024
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.

2 participants