ReactOS  0.4.15-dev-3451-gf606fec
t1decode.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* t1decode.h */
4 /* */
5 /* PostScript Type 1 decoding routines (specification). */
6 /* */
7 /* Copyright 2000-2018 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 T1DECODE_H_
20 #define T1DECODE_H_
21 
22 
23 #include <ft2build.h>
24 #include FT_INTERNAL_POSTSCRIPT_AUX_H
25 #include FT_INTERNAL_TYPE1_TYPES_H
26 
27 
29 
30 
33 
34  FT_LOCAL( FT_Int )
36  FT_Int charcode );
37 
38 #ifdef T1_CONFIG_OPTION_OLD_ENGINE
40  t1_decoder_parse_glyph( T1_Decoder decoder,
41  FT_UInt glyph_index );
42 
44  t1_decoder_parse_charstrings( T1_Decoder decoder,
45  FT_Byte* base,
46  FT_UInt len );
47 #else
50  FT_Byte* charstring_base,
51  FT_UInt charstring_len );
52 #endif
53 
55  t1_decoder_init( T1_Decoder decoder,
56  FT_Face face,
57  FT_Size size,
59  FT_Byte** glyph_names,
60  PS_Blend blend,
61  FT_Bool hinting,
62  FT_Render_Mode hint_mode,
63  T1_Decoder_Callback parse_glyph );
64 
65  FT_LOCAL( void )
66  t1_decoder_done( T1_Decoder decoder );
67 
68 
70 
71 #endif /* T1DECODE_H_ */
72 
73 
74 /* END */
int FT_Error
Definition: fttypes.h:300
#define FT_CALLBACK_TABLE
Definition: ftconfig.h:552
#define FT_END_HEADER
Definition: ftheader.h:54
signed int FT_Int
Definition: fttypes.h:220
enum FT_Render_Mode_ FT_Render_Mode
FT_Error(* T1_Decoder_Callback)(T1_Decoder decoder, FT_UInt glyph_index)
Definition: psaux.h:852
t1_decoder_done(T1_Decoder decoder)
Definition: t1decode.c:1973
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
t1_decoder_parse_metrics(T1_Decoder decoder, FT_Byte *charstring_base, FT_UInt charstring_len)
Definition: t1decode.c:1662
unsigned char FT_Byte
Definition: fttypes.h:154
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:387
FT_BEGIN_HEADER FT_CALLBACK_TABLE const T1_Decoder_FuncsRec t1_decoder_funcs
Definition: t1decode.h:32
t1_decoder_init(T1_Decoder decoder, FT_Face face, FT_Size size, FT_GlyphSlot slot, FT_Byte **glyph_names, PS_Blend blend, FT_Bool hinting, FT_Render_Mode hint_mode, T1_Decoder_Callback parse_glyph)
Definition: t1decode.c:1925
GLsizeiptr size
Definition: glext.h:5919
t1_lookup_glyph_by_stdcharcode_ps(PS_Decoder *decoder, FT_Int charcode)
Definition: t1decode.c:131
GLenum GLsizei len
Definition: glext.h:6722
Definition: vfat.h:184
unsigned int FT_UInt
Definition: fttypes.h:231
GLenum GLuint GLint GLenum face
Definition: glext.h:7025