-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
WOFF font support #7449
base: dev-2.0
Are you sure you want to change the base?
WOFF font support #7449
Conversation
dhowe
commented
Dec 27, 2024
•
edited
Loading
edited
- Add WOFF support via upgraded Typr.js
- Fixes null argument bug in fontWidth/textWidth
- Fixes direct-font-set triggering on non-string fonts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the test for this still exists, were these meant to be deleted? If not, we can restore by running this then committing the results:
git checkout dev-2.0 -- "test/unit/visual/screenshots/Typography/textWeight/can control variable fonts from files"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests still failing after I restored those files, but now with a pixel mismatch -- I regenerated the screenshots but still needs a visual check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@limzykenneth looks like we just merged some FES changes into dev-2.0, I think they might be causing some test failures |
Yeah still fixing it, the test for FES may need to be rewritten a bit and some outdated documentation around parameters may also need to be updated. I'll push fixes some time next week. |