Skip to content
Commit 85167dbd authored by Ben Wagner's avatar Ben Wagner
Browse files

[woff2] Remove sfnt size guess check

In WOFF the `totalSfntSize` must be correct, however in WOFF2 this value
is now just a hint and a conforming implementation must not reject
otherwise valid data if the `totalSfntSize` turns out not to be exact.

* src/sfnt/sfwoff2.c (woff2_open_font): remove check that uncompressed
woff2 data would fit in the sfnt size guess.

Fixes: #1235
parent 26a7f047
Pipeline #935529 passed with stage
in 7 minutes and 18 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment