[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-cvs] freetype2 ./ChangeLog src/sfnt/ttload.c
From: |
Chia-I Wu |
Subject: |
Re: [ft-cvs] freetype2 ./ChangeLog src/sfnt/ttload.c |
Date: |
Sun, 20 Nov 2005 19:04:44 +0800 |
User-agent: |
Mutt/1.5.11 |
On Sun, Nov 20, 2005 at 03:24:25AM -0500, Chia-I Wu wrote:
> (sfnt_init): New function to fill in face->ttc_header. A non-TTC font
> is synthesized into a TTC font with one offset table.
When a font is not begin the TTAG_ttcf we assume it should be an SFNT
and read the next 2 bytes as numTables. We then check every table to be
sure that it does is an SFNT.
In some extreme cases, the checking could take a long time. I know that
`OTTO', `true', 0x00010000, 0x00020000 are good tags. Are there others?
If there are not too many good tags, I guess should check the tag before
checking tables.
--
Regards,
olv