[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] FT_New_Memory_Face and .ttc
From: |
Chia-I Wu |
Subject: |
Re: [ft] FT_New_Memory_Face and .ttc |
Date: |
Tue, 17 Jan 2006 19:33:00 +0800 |
User-agent: |
Mutt/1.5.11 |
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
Re: [ft] FT_New_Memory_Face and .ttc, Werner LEMBERG, 2006/01/17
Re: [ft] FT_New_Memory_Face and .ttc, Niels-Peter Nielsen, 2006/01/18