ReactOS 0.4.16-dev-2354-g16de117
afmparse.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * afmparse.h
4 *
5 * AFM parser (specification).
6 *
7 * Copyright (C) 2006-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
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 AFMPARSE_H_
20#define AFMPARSE_H_
21
22
24
25
27
28
33 FT_Byte* limit );
34
35
36 FT_LOCAL( void )
38
39
42
43
45 {
48 AFM_VALUE_TYPE_FIXED, /* real number */
51 AFM_VALUE_TYPE_INDEX /* glyph index */
52 };
53
54
55 typedef struct AFM_ValueRec_
56 {
58 union
59 {
60 char* s;
65
66 } u;
67
69
70#define AFM_MAX_ARGUMENTS 5
71
74 AFM_Value vals,
75 FT_Int n );
76
77 /* read the next key from the next line or column */
78 FT_LOCAL( char* )
81 FT_Offset* len );
82
84
85#endif /* AFMPARSE_H_ */
86
87
88/* END */
struct AFM_ValueRec_ AFM_ValueRec
struct AFM_ValueRec_ * AFM_Value
afm_parser_read_vals(AFM_Parser parser, AFM_Value vals, FT_Int n)
Definition: afmparse.c:371
afm_parser_parse(AFM_Parser parser)
Definition: afmparse.c:861
AFM_ValueType_
Definition: afmparse.h:45
@ AFM_VALUE_TYPE_NAME
Definition: afmparse.h:47
@ AFM_VALUE_TYPE_STRING
Definition: afmparse.h:46
@ AFM_VALUE_TYPE_INDEX
Definition: afmparse.h:51
@ AFM_VALUE_TYPE_INTEGER
Definition: afmparse.h:49
@ AFM_VALUE_TYPE_BOOL
Definition: afmparse.h:50
@ AFM_VALUE_TYPE_FIXED
Definition: afmparse.h:48
afm_parser_next_key(AFM_Parser parser, FT_Bool line, FT_Offset *len)
Definition: afmparse.c:445
afm_parser_done(AFM_Parser parser)
Definition: afmparse.c:557
FT_BEGIN_HEADER afm_parser_init(AFM_Parser parser, FT_Memory memory, FT_Byte *base, FT_Byte *limit)
Definition: afmparse.c:529
#define FT_LOCAL(x)
#define FT_END_HEADER
Definition: ftheader.h:57
#define FT_BEGIN_HEADER
Definition: ftheader.h:37
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:64
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
unsigned char FT_Byte
Definition: fttypes.h:154
signed long FT_Fixed
Definition: fttypes.h:287
int FT_Error
Definition: fttypes.h:299
unsigned int FT_UInt
Definition: fttypes.h:231
size_t FT_Offset
Definition: fttypes.h:323
signed int FT_Int
Definition: fttypes.h:220
GLdouble n
Definition: glext.h:7729
GLint limit
Definition: glext.h:10326
GLenum GLsizei len
Definition: glext.h:6722
static char memory[1024 *256]
Definition: process.c:122
char * s
Definition: afmparse.h:60
FT_Fixed f
Definition: afmparse.h:61
FT_UInt u
Definition: afmparse.h:63
FT_Bool b
Definition: afmparse.h:64
enum AFM_ValueType_ type
Definition: afmparse.h:57
FT_Int i
Definition: afmparse.h:62
Definition: parser.c:49
Definition: import.c:81