Re: [ft] FT_New_Memory_Face and .ttc

2006-01-18 Thread Niels-Peter Nielsen
Let N := num. of tables Min:= min(offset of tables) Offset := Min - (12 + 16 * N). Then Offset should be the offset of the face in the TTC file. Even if it is not, it won't harm freetype. Adjusting the offsets might work if done on the TTF that is

[ft] FT_New_Memory_Face and .ttc

2006-01-14 Thread Niels-Peter Nielsen
Hello, I have a problem getting FT_New_Memory_Face to work with fonts that are stored in .ttc files. In my application, I use a standard Windows font selection dialog and create a font from the returned LOGFONT structure. I select the font into a device context and then call GetFontData. The