[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: |
Werner LEMBERG |
Subject: |
Re: [ft-cvs] freetype2 ./ChangeLog src/sfnt/ttload.c |
Date: |
Sun, 20 Nov 2005 14:32:00 +0100 (CET) |
> 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.
I'm not aware of any other tag, so it seems that your idea makes
sense. Maybe a compromise is useful too, this is, to check for a
mandatory table, then for the tag, then for the remaining tables.
Opinions?
Werner