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 returns only the data > for a single font face, how can this find the offset to subtract? I was wrong. I thought that a TTC has the layout like:
[TTC Header][Offset Table + Data 1][Offset Table + Data 2]... Anyway, so when GetFontData are called with both the `table' and `offset' parameters set to 0, it won't read the data from the beginning of the file? -- Regards, olv _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
