## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### FONTDEFINITIONHEADER

FONTDEFINITIONHEADER data structure.

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

    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;

    typedef   FONTDEFINITIONHEADER   * PFONTDEFINITIONHEADER ;