- Implemented 73 CRT functions
[wine] / tools / fnt2bdf.h
1 #include "wine/wingdi16.h"
2
3 #include "pshpack1.h"
4
5 enum data_types {dfChar, dfShort, dfLong, dfString};
6
7 #define ERROR_DATA      1
8 #define ERROR_VERSION   2
9 #define ERROR_SIZE      3
10 #define ERROR_MEMORY    4
11 #define ERROR_FILE      5
12
13 typedef struct tagFontHeader 
14 {
15     short dfVersion;            /* Version */
16     long dfSize;                /* Total File Size */
17     char dfCopyright[60];       /* Copyright notice */
18     FONTINFO16 fi;              /* FONTINFO structure */
19 } fnt_hdrS;
20
21 typedef struct WinCharStruct
22 {
23     unsigned int charWidth;
24     long charOffset;
25 } WinCharS;
26  
27 typedef struct fntFontStruct
28 {
29     fnt_hdrS            hdr;
30     WinCharS            *dfCharTable;
31     unsigned char       *dfDeviceP;
32     unsigned char       *dfFaceP;
33     unsigned char       *dfBitsPointerP;
34     unsigned char       *dfBitsOffsetP;
35     short               *dfColorTableP;
36 } fnt_fontS;
37
38 #include "poppack.h"