Hi all,

I'm pretty certain I found a bug related to commit
#6a92b1fadde26477a9179cbea988b3e04bd2decc.
In ftgzip.c line 749 this code
err = inflateInit2( &stream, MAX_WBITS );
was replaced
with err = inflateInit2( &stream, MAX_WBITS|32 );

This makes the function call fail as there is this check for the window
size in inflate.c: if (w < 8 || w > 15),
with w being  MAX_WBITS|32 = 15|32 = 47 !

I believe this should be reverted as it broke all WOFF font loading in my
code.

Best,
Lorcan
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to