Jump to content

FONTDEFINITIONHEADER: Difference between revisions

From EDM2
Created page with "FONTDEFINITIONHEADER data structure. This structure defines the format of the character definition records that follow it. ==Type== typedef struct _FONTDEFINITIONHEADER { ..."
 
(No difference)

Latest revision as of 16:25, 27 December 2019

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;