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 _______________________________________________ Freetype-cvs mailing list Freetype-cvs@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-cvs