Skip to content

[woff2] Remove sfnt size guess check

Ben Wagner requested to merge bungeman/freetype:woff2_remove_size_check into master

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 (closed)

Merge request reports