ReactOS 0.4.15-dev-5667-ged97270
t42parse.h
Go to the documentation of this file.
1/***************************************************************************/
2/* */
3/* t42parse.h */
4/* */
5/* Type 42 font parser (specification). */
6/* */
7/* Copyright 2002-2018 by */
8/* Roberto Alameda. */
9/* */
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. */
15/* */
16/***************************************************************************/
17
18
19#ifndef T42PARSE_H_
20#define T42PARSE_H_
21
22
23#include "t42objs.h"
24#include FT_INTERNAL_POSTSCRIPT_AUX_H
25
26
28
29 typedef struct T42_ParserRec_
30 {
33
36
38
40
41
42 typedef struct T42_Loader_
43 {
44 T42_ParserRec parser; /* parser used to read the stream */
45
46 FT_Int num_chars; /* number of characters in encoding */
47 PS_TableRec encoding_table; /* PS_Table used to store the */
48 /* encoding character names */
49
53 PS_TableRec swap_table; /* For moving .notdef glyph to index 0. */
54
56
57
62 PSAux_Service psaux );
63
64 FT_LOCAL( void )
66
67
70 T42_Loader loader,
72 FT_Long size );
73
74
75 FT_LOCAL( void )
77 T42_Face face );
78
79 FT_LOCAL( void )
81
82
83 /* */
84
86
87
88#endif /* T42PARSE_H_ */
89
90
91/* END */
#define FT_LOCAL(x)
Definition: ftconfig.h:387
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:66
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
unsigned char FT_Byte
Definition: fttypes.h:154
int FT_Error
Definition: fttypes.h:300
signed long FT_Long
Definition: fttypes.h:242
signed int FT_Int
Definition: fttypes.h:220
GLsizeiptr size
Definition: glext.h:5919
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
static char memory[1024 *256]
Definition: process.c:116
PS_TableRec encoding_table
Definition: t42parse.h:47
FT_Int num_chars
Definition: t42parse.h:46
PS_TableRec glyph_names
Definition: t42parse.h:51
T42_ParserRec parser
Definition: t42parse.h:44
PS_TableRec charstrings
Definition: t42parse.h:52
PS_TableRec swap_table
Definition: t42parse.h:53
FT_Int num_glyphs
Definition: t42parse.h:50
FT_Byte * base_dict
Definition: t42parse.h:34
FT_Stream stream
Definition: t42parse.h:32
FT_Long base_len
Definition: t42parse.h:35
PS_ParserRec root
Definition: t42parse.h:31
FT_Bool in_memory
Definition: t42parse.h:37
Definition: import.c:81
Definition: parse.h:23
t42_parse_dict(T42_Face face, T42_Loader loader, FT_Byte *base, FT_Long size)
Definition: t42parse.c:1135
t42_parser_init(T42_Parser parser, FT_Stream stream, FT_Memory memory, PSAux_Service psaux)
Definition: t42parse.c:136
struct T42_Loader_ * T42_Loader
t42_loader_done(T42_Loader loader)
Definition: t42parse.c:1283
FT_BEGIN_HEADER struct T42_ParserRec_ T42_ParserRec
struct T42_Loader_ T42_LoaderRec
t42_loader_init(T42_Loader loader, T42_Face face)
Definition: t42parse.c:1266
t42_parser_done(T42_Parser parser)
Definition: t42parse.c:220
FT_BEGIN_HEADER struct T42_ParserRec_ * T42_Parser
FT_BEGIN_HEADER struct T42_FaceRec_ * T42_Face