At present, FreeType2's compress font file I/O is designed for
the case that "whole of font file" is compressed as single stream.
On the other hand, WOFF will request the per-table decompression.
The easiest support would be done by the construction of the
sfnt font file image by using zlib, and pass it to FT_Face_New().
I wish if I could have a time to write a code to parse WOFF without
making a whole uncompressed font image...

Regards,
mpsuzuki

Werner LEMBERG wrote:
>> Is there anyone interested in adding WOFF support directly to
>> FreeType?
> 
> Yes, I will eventually add it but have'nt found time yet.
> 
>> It's a trivial amount of work.  Basically you copy the SFNT code,
>> slightly modify it, and hook up the gzip decompressor to the
>> tables...
> 
> Patches, please :-)
> 
> 
>     Werner
> 
> _______________________________________________
> Freetype-devel mailing list
> Freetype-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/freetype-devel


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to