freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: suzuki toshiya
Subject: Re: [ft-devel] WOFF support in FreeType?
Date: Wed, 27 Jun 2012 23:19:57 +0900
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)

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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]