This section describes the directory section of a font resource. A font resource contains a directory consisting of a set of structures each containing the metrics of a font and a pointer to the font itself. This font directory is generated by the resource compiler.
The format of the font directory is:
typedef struct {
USHORT usHeaderSize;
USHORT usnFonts;
USHORT usiMETRICS;
FONTENTRY fntEntry[1];
} FONTDIRECTORY;
typedef struct {
USHORT usIndex;
FONTFILEMETRICS metrics;
} FONTENTRY;
Where:
usHeaderSize