ReactOS  0.4.14-dev-77-gd9e7c48
cffgload.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* cffgload.h */
4 /* */
5 /* OpenType Glyph Loader (specification). */
6 /* */
7 /* Copyright 1996-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 CFFGLOAD_H_
20 #define CFFGLOAD_H_
21 
22 
23 #include <ft2build.h>
24 #include FT_FREETYPE_H
25 #include FT_INTERNAL_CFF_OBJECTS_TYPES_H
26 
27 
29 
32  FT_UInt glyph_index,
33  FT_Byte** pointer,
34  FT_ULong* length );
35  FT_LOCAL( void )
37  FT_Byte** pointer,
38  FT_ULong length );
39 
40 
41 #if 0 /* unused until we support pure CFF fonts */
42 
43  /* Compute the maximum advance width of a font through quick parsing */
45  cff_compute_max_advance( TT_Face face,
46  FT_Int* max_advance );
47 
48 #endif /* 0 */
49 
50 
53  CFF_Size size,
54  FT_UInt glyph_index,
55  FT_Int32 load_flags );
56 
57 
59 
60 #endif /* CFFGLOAD_H_ */
61 
62 
63 /* END */
int FT_Error
Definition: fttypes.h:300
unsigned long FT_ULong
Definition: fttypes.h:253
#define FT_END_HEADER
Definition: ftheader.h:54
GLsizei const GLvoid * pointer
Definition: glext.h:5848
signed int FT_Int
Definition: fttypes.h:220
unsigned char FT_Byte
Definition: fttypes.h:154
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:387
GLsizeiptr size
Definition: glext.h:5919
FT_BEGIN_HEADER cff_get_glyph_data(TT_Face face, FT_UInt glyph_index, FT_Byte **pointer, FT_ULong *length)
Definition: cffgload.c:45
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
cff_free_glyph_data(TT_Face face, FT_Byte **pointer, FT_ULong length)
Definition: cffgload.c:81
unsigned int FT_UInt
Definition: fttypes.h:231
cff_slot_load(CFF_GlyphSlot glyph, CFF_Size size, FT_UInt glyph_index, FT_Int32 load_flags)
Definition: cffgload.c:195
GLenum GLuint GLint GLenum face
Definition: glext.h:7025