Font Signatures

Windows Metrics

The Windows metrics table consists of a set of metrics that are required by Windows. The layout of this table is as follows:


USHORT   version
SHORT    xAvgCharWidth;
USHORT   usWeightClass;
USHORT   usWidthClass;
SHORT    fsType;
SHORT    ySubscriptXSize;
SHORT    ySubscriptYSize;
SHORT    ySubscriptXOffset;
SHORT    ySubscriptYOffset;
SHORT    ySuperscriptXSize;
SHORT    ySuperscriptYSize;
SHORT    ySuperscriptXOffset;
SHORT    ySuperscriptYOffset;
SHORT    yStrikeoutSize;
SHORT    yStrikeoutPosition;
SHORT    sFamilyClass;
PANOSE   panose;
ULONG    aulUnicodeRange[4];
CHAR     achVendID[4];
USHORT   fsSelection;
USHORT   usFirstCharIndex;
USHORT   usLastCharIndex;
USHORT   sTypoAscender;
USHORT   sTypoDescender;
USHORT   sTypoLineGap;
USHORT   usWinAscent;
USHORT   usWinDescent;
ULONG    aulCodePageRange[2];