Re: [ft-devel] WOFF support in FreeType?

2012-06-27 Thread suzuki toshiya
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


Re: [ft-devel] WOFF support in FreeType?

2012-06-27 Thread Werner LEMBERG

> 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


[ft-devel] WOFF support in FreeType?

2012-06-27 Thread Behdad Esfahbod
Is there anyone interested in adding WOFF support directly to FreeType?

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...

It's so frustrating that there are essentially no tools to work with WOFF
files in a typical Linux development environment...

behdad

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