[wpt-sync] Sync PR 40351 - Update WOFF2 test fonts
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40351 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40351
Details from upstream follow.
Mok <Jasmine.Mok@sony.com> wrote:
Update WOFF2 test fonts
While attempting to use FreeType's WOFF2 support for fonts within WebKit, we saw failures with tests that load WOFF2 fonts.tests that load WOFF2 fonts.
With each of the
woff2
files in the failing tests, we found that FreeType could load them if we decompressed them to a.ttf
usingwoff2_decompress
orfonttools ttLib.woff2 decompress
, and then compressed them again usingfonttools ttLib.woff2 compress
with the--no-glyf-transform
option.We compressed the following fonts using
fonttools ttlib.woff2 compress --no-glyf-transform
, all of which FreeType was able to load:
css/WOFF2/support/datatypes-alt-255uint16-001.woff2
css/WOFF2/support/tabledata-transform-hmtx-001.woff2
css/WOFF2/support/tabledata-transform-hmtx-002.woff2
css/WOFF2/support/valid-005.woff2
css/WOFF2/support/valid-006.woff2
css/WOFF2/support/valid-007.woff2
css/WOFF2/support/valid-008.woff2Only one test font was still unable to load using this method:
css/WOFF2/support/header-totalsfntsize-001.woff2
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 5 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests
Status Summary
Firefox
PASS
: 7
Chrome
PASS
: 7
Safari
PASS
: 7
Links
Comment 4•1 year ago
|
||
bugherder |
Description
•