Re: [ft] TrueType font subsetting

2007-08-13 Thread Michael Day
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

[ft] TrueType font subsetting

2007-08-11 Thread Michael Day
Hi, Applications that produce PDF files may need to perform TrueType font subsetting, in which the unused glyphs and tables are discarded from a font in order to save space. This is particularly important for CJK fonts, as they are very large and a PDF document will typically only use a

Re: [ft] FT_New_Face

2006-09-17 Thread Michael Day
Hi Leonard, I tend to use FT_New_Memory_Face() on Windows, having first found the font data using native OS API calls and then loading the font data into memory from there... We do that too in Prince, however this method is difficult to use for TrueType Collection (TTC) fonts such as

Re: [ft] FT_New_Memory_Face and .ttc

2006-01-17 Thread Michael Day
Hi, I am interested in this GetFontData/TTC problem also, as it is currently affecting Prince, our XML + CSS to PDF formatter, which uses FreeType. N := num. of tables Min:= min(offset of tables) Offset := Min - (12 + 16 * N). I don't quite follow this -- is the

Re: [ft] FT_New_Memory_Face and .ttc

2006-01-14 Thread Michael Day
I have a problem getting FT_New_Memory_Face to work with fonts that are stored in .ttc files. I have experienced this problem too, using freetype 2.1.9. Cheers, Michael -- Print XML with Prince! http://www.princexml.com ___ Freetype mailing