Jump to content

ADDITIONALMETRICS: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:


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==
==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 {
  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==
;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.


[[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.