Commit graph

2 commits

Author SHA1 Message Date
Martin Robinson
8dece05980
fonts: Add support for WOFF2 and properly load web fonts from @imports (#31879)
This change also makes two fixes that are necessary to get WOFF2 fonts
working:

1. It adds support for loading web fonts from stylesheets included via
   @import rules.
2. It ensure that when web fonts are loaded synchronusly they invalidate
   the font cache. This led to incorrect font rendering when running
   tests before.

Fixes #31598.
2024-03-26 20:31:52 +00:00
Martin Robinson
9dff1fecfc
wpt: Start running the WOFF2 tests (#31595)
This is the first step implementing WOFF2 font support in Servo.
2024-03-09 13:29:00 +00:00