Has anyone an exact description about the FONT (type=8 ) resource structure for bitmap fonts?

There is a header with size 71h+x?, which seems to be FONTDIRENTRY, but without the szDeviceName and szFaceName entries (or are they just null strings?), then some extra bytes which I don't know, then comes a table (I call it "character table") with entries for all characters, which has the structure:

wWidth  dw ?      ;width in bits of this char
wOfs      dw ?      ;offset to bitmap

at at last the bitmaps for the chars follow.

What I need to know is the exact size of the header - and if it is constant - so I know the start of the "character table".


Posted on 2005-09-28 07:01:01 by japheth