[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 20:12:56 +0800 |
User-agent: |
Mutt/1.5.11 |
On Tue, Jan 17, 2006 at 10:37:42PM +1100, Michael Day wrote:
> > 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?
> Apparently not, if it is a TTC file, it reads the data from the beginning
> of the individual TTF within the TTC that is selected by the font
> descriptor.
wine's implementation uses freetype's FT_Load_Sfnt_Table, which would
read from the beginning of the file when both `table' and `offset' are
set to 0. It makes more sense this way, but sadly wrong.
--
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