ReactOS  0.4.15-dev-318-g99b52df
winfnt.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* winfnt.h */
4 /* */
5 /* FreeType font driver for Windows FNT/FON files */
6 /* */
7 /* Copyright 1996-2018 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* Copyright 2007 Dmitry Timoshkov for Codeweavers */
10 /* */
11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */
16 /* */
17 /***************************************************************************/
18 
19 
20 #ifndef WINFNT_H_
21 #define WINFNT_H_
22 
23 
24 #include <ft2build.h>
25 #include FT_WINFONTS_H
26 #include FT_INTERNAL_DRIVER_H
27 
28 
30 
31 #ifdef FT_CONFIG_OPTION_PIC
32 #error "this module does not support PIC yet"
33 #endif
34 
35  typedef struct WinMZ_HeaderRec_
36  {
38  /* skipped content */
40 
42 
43 
44  typedef struct WinNE_HeaderRec_
45  {
47  /* skipped content */
50 
52 
53 
54  typedef struct WinPE32_HeaderRec_
55  {
59  /* skipped content */
61  /* skipped content */
63  /* skipped content */
66  /* skipped content */
67 
69 
70 
71  typedef struct WinPE32_SectionRec_
72  {
74  /* skipped content */
78  /* skipped content */
79 
81 
82 
83  typedef struct WinPE_RsrcDirRec_
84  {
91 
93 
94 
95  typedef struct WinPE_RsrcDirEntryRec_
96  {
99 
101 
102 
103  typedef struct WinPE_RsrcDataEntryRec_
104  {
109 
111 
112 
113  typedef struct WinNameInfoRec_
114  {
121 
122  } WinNameInfoRec;
123 
124 
125  typedef struct WinResourceInfoRec_
126  {
129 
131 
132 
133 #define WINFNT_MZ_MAGIC 0x5A4D
134 #define WINFNT_NE_MAGIC 0x454E
135 #define WINFNT_PE_MAGIC 0x4550
136 
137 
138  typedef struct FNT_FontRec_
139  {
141 
143 
147 
148  } FNT_FontRec, *FNT_Font;
149 
150 
151  typedef struct FNT_FaceRec_
152  {
155 
157  FT_CharMapRec charmap; /* a single charmap per face */
158 
159  } FNT_FaceRec, *FNT_Face;
160 
161 
163 
164 
166 
167 
168 #endif /* WINFNT_H_ */
169 
170 
171 /* END */
FT_UShort size_of_optional_header
Definition: winfnt.h:60
struct WinPE_RsrcDataEntryRec_ WinPE_RsrcDataEntryRec
FT_UShort number_of_named_entries
Definition: winfnt.h:89
FT_ULong fnt_size
Definition: winfnt.h:145
FT_ULong time_date_stamp
Definition: winfnt.h:86
FT_UShort resource_tab_offset
Definition: winfnt.h:48
unsigned long FT_ULong
Definition: fttypes.h:253
FT_CharMap charmap_handle
Definition: winfnt.h:156
FT_UShort number_of_id_entries
Definition: winfnt.h:90
#define FT_END_HEADER
Definition: ftheader.h:54
FT_UShort flags
Definition: winfnt.h:117
struct WinResourceInfoRec_ WinResourceInfoRec
FT_ULong offset_to_data
Definition: winfnt.h:105
struct WinPE32_HeaderRec_ WinPE32_HeaderRec
FT_String * family_name
Definition: winfnt.h:146
FT_ULong offset
Definition: winfnt.h:140
FT_ULong virtual_address
Definition: winfnt.h:75
FT_UShort magic
Definition: winfnt.h:46
FT_WinFNT_HeaderRec header
Definition: winfnt.h:142
FNT_Font font
Definition: winfnt.h:154
FT_BEGIN_HEADER struct WinMZ_HeaderRec_ WinMZ_HeaderRec
FT_UShort length
Definition: winfnt.h:116
FT_ULong pointer_to_raw_data
Definition: winfnt.h:77
struct WinPE_RsrcDirEntryRec_ WinPE_RsrcDirEntryRec
FT_UShort usage
Definition: winfnt.h:120
FT_UShort machine
Definition: winfnt.h:57
struct WinNameInfoRec_ WinNameInfoRec
FT_UShort minor_version
Definition: winfnt.h:88
FT_FaceRec root
Definition: winfnt.h:153
FT_UShort magic
Definition: winfnt.h:37
unsigned char FT_Byte
Definition: fttypes.h:154
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_UShort count
Definition: winfnt.h:128
FT_UShort lfanew
Definition: winfnt.h:39
FT_ULong magic
Definition: winfnt.h:56
FT_UShort rname_tab_offset
Definition: winfnt.h:49
struct FNT_FontRec_ * FNT_Font
char FT_String
Definition: fttypes.h:187
FT_UShort handle
Definition: winfnt.h:119
FT_ULong characteristics
Definition: winfnt.h:85
struct FNT_FontRec_ FNT_FontRec
FT_ULong rsrc_virtual_address
Definition: winfnt.h:64
FT_UShort type_id
Definition: winfnt.h:127
struct FNT_FaceRec_ * FNT_Face
FT_UShort offset
Definition: winfnt.h:115
struct FNT_FaceRec_ FNT_FaceRec
FT_Byte * fnt_frame
Definition: winfnt.h:144
FT_CALLBACK_TABLE_DEF const FT_Driver_ClassRec winfnt_driver_class
Definition: winfnt.c:1160
FT_ULong rsrc_size
Definition: winfnt.h:65
FT_UShort major_version
Definition: winfnt.h:87
FT_ULong size_of_raw_data
Definition: winfnt.h:76
struct WinPE32_SectionRec_ WinPE32_SectionRec
struct WinPE_RsrcDirRec_ WinPE_RsrcDirRec
Definition: name.c:38
FT_UShort number_of_sections
Definition: winfnt.h:58
FT_UShort id
Definition: winfnt.h:118
struct WinNE_HeaderRec_ WinNE_HeaderRec
unsigned short FT_UShort
Definition: fttypes.h:209
FT_EXPORT_VAR(const FT_Driver_ClassRec) winfnt_driver_class
FT_CharMapRec charmap
Definition: winfnt.h:157
FT_UShort magic32
Definition: winfnt.h:62