1
/***************************************************************************/
5
/* FreeType font driver for Windows FNT/FON files */
7
/* Copyright 1996-2001, 2002, 2003, 2004 by */
8
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
10
/* This file is part of the FreeType project, and may only be used, */
11
/* modified, and distributed under the terms of the FreeType project */
12
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13
/* this file you indicate that you have read the license and */
14
/* understand and accept it fully. */
16
/***************************************************************************/
24
#include FT_WINFONTS_H
25
#include FT_INTERNAL_DRIVER_H
30
typedef struct WinMZ_HeaderRec_
39
typedef struct WinNE_HeaderRec_
43
FT_UShort resource_tab_offset;
44
FT_UShort rname_tab_offset;
49
typedef struct WinNameInfoRec_
61
typedef struct WinResourceInfoRec_
69
#define WINFNT_MZ_MAGIC 0x5A4D
70
#define WINFNT_NE_MAGIC 0x454E
73
typedef struct FNT_FontRec_
78
FT_WinFNT_HeaderRec header;
82
FT_String* family_name;
84
} FNT_FontRec, *FNT_Font;
87
typedef struct FNT_FaceRec_
92
FT_CharMap charmap_handle;
93
FT_CharMapRec charmap; /* a single charmap per face */
95
} FNT_FaceRec, *FNT_Face;
98
FT_EXPORT_VAR( const FT_Driver_ClassRec ) winfnt_driver_class;
104
#endif /* __WINFNT_H__ */