ReactOS  0.4.14-dev-1007-g90d795b
cffdecode.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* cffdecode.h */
4 /* */
5 /* PostScript CFF (Type 2) decoding routines (specification). */
6 /* */
7 /* Copyright 2017-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 CFFDECODE_H_
20 #define CFFDECODE_H_
21 
22 
23 #include <ft2build.h>
24 #include FT_INTERNAL_POSTSCRIPT_AUX_H
25 
26 
28 
29  FT_LOCAL( void )
30  cff_decoder_init( CFF_Decoder* decoder,
31  TT_Face face,
32  CFF_Size size,
34  FT_Bool hinting,
35  FT_Render_Mode hint_mode,
37  CFF_Decoder_Free_Glyph_Callback free_callback );
38 
41  CFF_Size size,
42  FT_UInt glyph_index );
43 
44 
45  FT_LOCAL( FT_Int )
47  FT_Int charcode );
48 
49 
50 #ifdef CFF_CONFIG_OPTION_OLD_ENGINE
52  cff_decoder_parse_charstrings( CFF_Decoder* decoder,
53  FT_Byte* charstring_base,
54  FT_ULong charstring_len,
55  FT_Bool in_dict );
56 #endif
57 
58 
60 
61 #endif
62 
63 
64 /* END */
int FT_Error
Definition: fttypes.h:300
static HRESULT get_callback(IBindCtx *pbc, IBindStatusCallback **callback)
Definition: binding.c:1411
unsigned long FT_ULong
Definition: fttypes.h:253
cff_lookup_glyph_by_stdcharcode(CFF_Font cff, FT_Int charcode)
Definition: cffdecode.c:419
#define FT_END_HEADER
Definition: ftheader.h:54
signed int FT_Int
Definition: fttypes.h:220
enum FT_Render_Mode_ FT_Render_Mode
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
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_Error(* CFF_Decoder_Get_Glyph_Callback)(TT_Face face, FT_UInt glyph_index, FT_Byte **pointer, FT_ULong *length)
Definition: psaux.h:588
CFF_Font cff
Definition: cffdrivr.c:695
FT_BEGIN_HEADER cff_decoder_init(CFF_Decoder *decoder, TT_Face face, CFF_Size size, CFF_GlyphSlot slot, FT_Bool hinting, FT_Render_Mode hint_mode, CFF_Decoder_Get_Glyph_Callback get_callback, CFF_Decoder_Free_Glyph_Callback free_callback)
Definition: cffdecode.c:2277
GLsizeiptr size
Definition: glext.h:5919
Definition: vfat.h:184
unsigned int FT_UInt
Definition: fttypes.h:231
void(* CFF_Decoder_Free_Glyph_Callback)(TT_Face face, FT_Byte **pointer, FT_ULong length)
Definition: psaux.h:594
cff_decoder_prepare(CFF_Decoder *decoder, CFF_Size size, FT_UInt glyph_index)
Definition: cffdecode.c:2313
GLenum GLuint GLint GLenum face
Definition: glext.h:7025