Jump to content

FONTDEFINITIONHEADER

From EDM2
Revision as of 16:25, 27 December 2019 by Martini (talk | contribs) (Created page with "FONTDEFINITIONHEADER data structure. This structure defines the format of the character definition records that follow it. ==Type== typedef struct _FONTDEFINITIONHEADER { ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

FONTDEFINITIONHEADER data structure.

This structure defines the format of the character definition records that follow it.

Type

typedef struct _FONTDEFINITIONHEADER {
 ULONG     ulIdentity;       /*  Structure identity code. */
 ULONG     ulSize;           /*  Structure size in bytes. */
 SHORT     fsFontdef;        /*  Flags for font definition data. */
 SHORT     fsChardef;        /*  Fields present, per-character basis. */
 SHORT     usCellSize;       /*  Length of each character definition record. */
 SHORT     xCellWidth;       /*  Width of characters. */
 SHORT     yCellHeight;      /*  Height of characters. */
 SHORT     xCellIncrement;   /*  Stepping distance along character baseline. */
 SHORT     xCellA;           /*  Width of the space before a character. */
 SHORT     xCellB;           /*  Width of a character. */
 SHORT     xCellC;           /*  Width of the space following a character. */
 SHORT     pCellBaseOffset;  /*  Top position of a character definition. */
} FONTDEFINITIONHEADER;

C Declaration Method

typedef FONTDEFINITIONHEADER *PFONTDEFINITIONHEADER;