freetype
[Top][All Lists]
Advanced

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

Re: [ft] TrueType font subsetting


From: Michael Day
Subject: Re: [ft] TrueType font subsetting
Date: Tue, 14 Aug 2007 11:41:51 +1000
User-agent: Thunderbird 1.5.0.9 (X11/20070104)

Hi Werner,

In general, this is interesting stuff.  However, I'm not sure whether
it really makes sense to add it directly to FreeType, since FreeType's
job is not to build new fonts.  What kind of interface do you imagine?

The input would be:

 - an FT_Face representing a TrueType font
 - an array of glyph indices

The output would be:

 - a buffer containing a new TrueType font with the specified glyphs
 - an array mapping the old glyph indices to the new indices

There may also need to be a flag controlling charmap generation or some other minor details, but those are the important bits.

What about creating a separate library to do that?

Right, we will write the code using FreeType types (FT_ULong etc.) and functions, then release it as a library. If there is interest in including it in the FreeType package it should be easy to add.

Best regards,

Michael

--
Print XML with Prince!
http://www.princexml.com




reply via email to

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