Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
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-2001, 2002, 2003, 2004, 2007 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  {
154  FNT_Font font;
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 */
struct WinPE_RsrcDataEntryRec_ WinPE_RsrcDataEntryRec
FT_ULong offset
Definition: winfnt.h:140
FT_UShort size_of_optional_header
Definition: winfnt.h:60
unsigned long FT_ULong
Definition: fttypes.h:249
FT_UShort id
Definition: winfnt.h:118
FT_UShort magic32
Definition: winfnt.h:62
FT_UShort length
Definition: winfnt.h:116
#define FT_END_HEADER
Definition: ftheader.h:54
FNT_Font font
Definition: winfnt.h:154
Definition: winfnt.h:95
struct WinResourceInfoRec_ WinResourceInfoRec
struct WinPE32_HeaderRec_ WinPE32_HeaderRec
FT_BEGIN_HEADER struct WinMZ_HeaderRec_ WinMZ_HeaderRec
struct WinPE_RsrcDirEntryRec_ WinPE_RsrcDirEntryRec
FT_UShort magic
Definition: winfnt.h:37
FT_ULong size_of_raw_data
Definition: winfnt.h:76
struct WinNameInfoRec_ WinNameInfoRec
FT_UShort number_of_named_entries
Definition: winfnt.h:89
FT_UShort machine
Definition: winfnt.h:57
FT_UShort number_of_id_entries
Definition: winfnt.h:90
unsigned char FT_Byte
Definition: fttypes.h:150
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_UShort minor_version
Definition: winfnt.h:88
FT_ULong virtual_address
Definition: winfnt.h:75
FT_UShort count
Definition: winfnt.h:128
FT_WinFNT_HeaderRec header
Definition: winfnt.h:142
FT_UShort flags
Definition: winfnt.h:117
FT_UShort major_version
Definition: winfnt.h:87
FT_String * family_name
Definition: winfnt.h:146
FT_ULong size
Definition: winfnt.h:106
FT_Byte * fnt_frame
Definition: winfnt.h:144
FT_ULong fnt_size
Definition: winfnt.h:145
struct FNT_FontRec_ * FNT_Font
char FT_String
Definition: fttypes.h:183
FT_ULong magic
Definition: winfnt.h:56
FT_ULong rsrc_size
Definition: winfnt.h:65
struct FNT_FontRec_ FNT_FontRec
struct FNT_FaceRec_ * FNT_Face
FT_UShort offset
Definition: winfnt.h:115
FT_ULong time_date_stamp
Definition: winfnt.h:86
struct FNT_FaceRec_ FNT_FaceRec
FT_UShort resource_tab_offset
Definition: winfnt.h:48
GLuint const GLchar * name
FT_UShort lfanew
Definition: winfnt.h:39
FT_UShort magic
Definition: winfnt.h:46
FT_CALLBACK_TABLE_DEF const FT_Driver_ClassRec winfnt_driver_class
Definition: winfnt.c:1115
FT_UShort usage
Definition: winfnt.h:120
FT_UShort number_of_sections
Definition: winfnt.h:58
FT_ULong reserved
Definition: winfnt.h:108
struct WinPE32_SectionRec_ WinPE32_SectionRec
FT_ULong characteristics
Definition: winfnt.h:85
struct WinPE_RsrcDirRec_ WinPE_RsrcDirRec
FT_UShort type_id
Definition: winfnt.h:127
FT_ULong pointer_to_raw_data
Definition: winfnt.h:77
struct WinNE_HeaderRec_ WinNE_HeaderRec
FT_CharMap charmap_handle
Definition: winfnt.h:156
FT_ULong name
Definition: winfnt.h:97
unsigned short FT_UShort
Definition: fttypes.h:205
FT_ULong offset_to_data
Definition: winfnt.h:105
FT_ULong code_page
Definition: winfnt.h:107
FT_EXPORT_VAR(const FT_Driver_ClassRec) winfnt_driver_class
Definition: winfnt.h:103
FT_UShort handle
Definition: winfnt.h:119
FT_ULong rsrc_virtual_address
Definition: winfnt.h:64
FT_CharMapRec charmap
Definition: winfnt.h:157
FT_FaceRec root
Definition: winfnt.h:153
FT_ULong offset
Definition: winfnt.h:98
FT_UShort rname_tab_offset
Definition: winfnt.h:49