[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Freetype] TrueType Font implementation query
From: |
Sam Chapman |
Subject: |
RE: [Freetype] TrueType Font implementation query |
Date: |
Wed, 23 May 2001 11:51:06 +0100 |
I'd like to thank everyone who responded to my query, for the help they
provided.
Thanks everyone,
Sam Chapman
-----Original Message-----
Sam Chapman wrote:
>
> The glyf table headers, (offset by the 'loca' table), are clear enough the
> confusion I have is with the Glyph description.
>
> Simple cases are defined as so.
>
> Type Name
> USHORT endPtsOfContours[n] n is the number of contours.
> USHORT instructionLength
> BYTE instructions[n] n is the number of instructions.
> BYTE flags[n] n is the number of flags.
> BYTE or SHORT xCoordinates[ ]
> BYTE or SHORT yCoordinates[ ]
>
> Knowing the number of contours it is possible to size and extract the
first
> and second components. This then allows the instructions themselves to be
> loaded. The number of flags is currently unknown to me (so where do I get
> this value?).