ADDITIONALMETRICS: Difference between revisions
Appearance
Created page with "ADDITIONALMETRICS data structure. If the font signature type is ADDITIONALMETRICS, additional information is included in the PANOSE datatype. typedef struct _ADDITIONALMETR..." |
mNo edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
If the font signature type is ADDITIONALMETRICS, additional information is included in the PANOSE datatype. | If the font signature type is ADDITIONALMETRICS, additional information is included in the PANOSE datatype. | ||
==Type== | |||
typedef struct _ADDITIONALMETRICS { | typedef struct _ADDITIONALMETRICS { | ||
ULONG ulIdentity; /* Structure identity code. */ | ULONG ulIdentity; /* Structure identity code. */ | ||
ULONG ulSize; /* Structure size in bytes. */ | ULONG ulSize; /* Structure size in bytes. */ | ||
PANOSE panose; /* Quantitative descriptions of font faces. */ | PANOSE panose; /* Quantitative descriptions of font faces. */ | ||
} ADDITIONALMETRICS; | } ADDITIONALMETRICS; | ||
typedef ADDITIONALMETRICS *PADDITIONALMETRICS; | typedef ADDITIONALMETRICS *PADDITIONALMETRICS; | ||
==C Declaration Method== | |||
typedef struct | |||
; | ==Fields== | ||
Structure size in bytes. | ;ulIdentity (ULONG):Structure identity code. | ||
This must be set to the size of the FOCAMETRICS structure. This field is not part of the FONTMETRICS structure. | :This must be one (1). This field is not part of the FONTMETRICS structure. | ||
;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. | ||
Quantitative descriptions of font faces. | ;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. | :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. | ||
[[Category:Data type]] | [[Category:Data type]] |
Latest revision as of 16:43, 8 February 2020
ADDITIONALMETRICS data structure.
If the font signature type is ADDITIONALMETRICS, additional information is included in the PANOSE datatype.
Type
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;
C Declaration Method
typedef struct
Fields
- ulIdentity (ULONG)
- Structure identity code.
- This must be one (1). This field is not part of the FONTMETRICS structure.
- 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)
- 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.