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
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
On Tue, Jan 17, 2006 at 07:40:54PM +1100, Michael Day wrote:
N := num. of tables
Min:= min(offset of tables)
Offset := Min - (12 + 16 * N).
I don't quite follow this -- is the number of tables the number of tables
in the individual font face? Given that GetFontData
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
I have a question regarding FT_New_Memory_Face(). I have converted
my arial.ttf file to an array of unsigned bytes, and I have compiled
and linked this array into my application. I then pass a pointer to
the array to FT_New_Memory_Face(), however it returns a non-zero
status. [...]
Please