[woff] Optimize table tagging.

* include/freetype/internal/wofftypes.h (WOFF_TableRec): Use
32-bit tag.
* src/sfnt/sfwoff.c (woff_open_font): Use 32-bit tag.
This commit is contained in:
Alexei Podtelezhnikov 2021-10-27 22:36:11 -04:00
parent a577bbcb5b
commit 793c012635
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ FT_BEGIN_HEADER
*/
typedef struct WOFF_TableRec_
{
FT_ULong Tag; /* table ID */
FT_Tag Tag; /* table ID */
FT_ULong Offset; /* table file offset */
FT_ULong CompLength; /* compressed table length */
FT_ULong OrigLength; /* uncompressed table length */

View File

@ -109,7 +109,7 @@
FT_ULong sfnt_offset;
FT_Int nn;
FT_ULong old_tag = 0;
FT_Tag old_tag = 0;
static const FT_Frame_Field woff_header_fields[] =
{