ADDITIONALMETRICS: Difference between revisions
Appearance
Line 10: | Line 10: | ||
==C Declaration Method== | ==C Declaration Method== | ||
typedef | typedef struct | ||
==Fields== | ==Fields== |
Revision as of 16:29, 17 August 2017
ADDITIONALMETRICS data structure.
If the font signature type is ADDITIONALMETRICS, additional information is included in the PANOSE datatype.
Type
ULONG ulIdentity; ULONG ulSize; PANOSE panose;
C Declaration Method
typedef struct
Fields
- ulIdentity
- ulIdentity (ULONG)
Structure identity code. This must be one (1). This field is not part of the FONTMETRICS structure.
- ulSize
- ulSize (ULONG)
Structure size in bytes. This must be set to the size of the FOCAMETRICS structure. This field is not part of the FONTMETRICS structure.
- panose
- panose (PANOSE)
Quantitative descriptions of font faces. The PANOSE datatype field consists of 10 digits, each of which describes one of up to 16 variations, to allow for quantitative descriptions of the visual properties of the font faces.
Example Code
typedef struct _ADDITIONALMETRICS { ULONG ulIdentity; /* Structure identity code. */ ULONG ulSize; /* Structure size in bytes. */ PANOSE panose; /* Quantitative descriptions of font faces. */ } ADDITIONALMETRICS; typedef ADDITIONALMETRICS *PADDITIONALMETRICS;