Jump to content

ADDITIONALMETRICS: Difference between revisions

From EDM2
No edit summary
No edit summary
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.


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;


==Type==
  [[ULONG]] ulIdentity;
  [[ULONG]] ulSize;
  PANOSE panose;
==C Declaration Method==
typedef
==Fields==
; ulIdentity : ulIdentity (ULONG)
; ulIdentity : ulIdentity (ULONG)
Structure identity code.
Structure identity code.
Line 23: Line 25:
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.


==Type==
==Example==
struct
 
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


[[Category:Data type]]
[[Category:Data type]]

Revision as of 00:16, 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

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

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;