| Line |  | 
|---|
| 1 | /* $Id: font.h,v 1.2 2003-07-28 11:25:51 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * GDI font definitions | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1994 Alexandre Julliard | 
|---|
| 7 | */ | 
|---|
| 8 |  | 
|---|
| 9 | #ifndef __WINE_FONT_H | 
|---|
| 10 | #define __WINE_FONT_H | 
|---|
| 11 |  | 
|---|
| 12 | #include "pshpack1.h" | 
|---|
| 13 |  | 
|---|
| 14 | typedef struct { | 
|---|
| 15 | WORD        dfVersion; | 
|---|
| 16 | DWORD       dfSize; | 
|---|
| 17 | CHAR        dfCopyright[60]; | 
|---|
| 18 | WORD        dfType; | 
|---|
| 19 | WORD        dfPoints; | 
|---|
| 20 | WORD        dfVertRes; | 
|---|
| 21 | WORD        dfHorizRes; | 
|---|
| 22 | WORD        dfAscent; | 
|---|
| 23 | WORD        dfInternalLeading; | 
|---|
| 24 | WORD        dfExternalLeading; | 
|---|
| 25 | BYTE        dfItalic; | 
|---|
| 26 | BYTE        dfUnderline; | 
|---|
| 27 | BYTE        dfStrikeOut; | 
|---|
| 28 | WORD        dfWeight; | 
|---|
| 29 | BYTE        dfCharSet; | 
|---|
| 30 | WORD        dfPixWidth; | 
|---|
| 31 | WORD        dfPixHeight; | 
|---|
| 32 | BYTE        dfPitchAndFamily; | 
|---|
| 33 | WORD        dfAvgWidth; | 
|---|
| 34 | WORD        dfMaxWidth; | 
|---|
| 35 | BYTE        dfFirstChar; | 
|---|
| 36 | BYTE        dfLastChar; | 
|---|
| 37 | BYTE        dfDefaultChar; | 
|---|
| 38 | BYTE        dfBreakChar; | 
|---|
| 39 | WORD        dfWidthBytes; | 
|---|
| 40 | DWORD       dfDevice; | 
|---|
| 41 | DWORD       dfFace; | 
|---|
| 42 | DWORD       dfReserved; | 
|---|
| 43 | CHAR        szDeviceName[60]; /* FIXME: length unknown */ | 
|---|
| 44 | CHAR        szFaceName[60];   /* dito */ | 
|---|
| 45 | } FONTDIR16, *LPFONTDIR16; | 
|---|
| 46 |  | 
|---|
| 47 | #include "poppack.h" | 
|---|
| 48 |  | 
|---|
| 49 | #define FONTCACHE       32      /* dynamic font cache size */ | 
|---|
| 50 |  | 
|---|
| 51 |  | 
|---|
| 52 |  | 
|---|
| 53 |  | 
|---|
| 54 | #endif /* __WINE_FONT_H */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.