ReactOS  0.4.14-dev-50-g13bb5e2
cffload.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* cffload.h */
4 /* */
5 /* OpenType & CFF data/program tables 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 CFFLOAD_H_
20 #define CFFLOAD_H_
21 
22 
23 #include <ft2build.h>
24 #include FT_INTERNAL_CFF_TYPES_H
25 #include "cffparse.h"
26 #include FT_INTERNAL_CFF_OBJECTS_TYPES_H /* for CFF_Face */
27 
28 
30 
33 
34 
37  FT_UInt element );
38 
41  FT_UInt sid );
42 
43 
47  FT_Byte** pbytes,
48  FT_ULong* pbyte_len );
49 
50  FT_LOCAL( void )
52  FT_Byte** pbytes );
53 
56  FT_UInt element );
57 
58 
59  FT_LOCAL( FT_UInt )
61  FT_UInt cid );
62 
63 
67  FT_Int face_index,
68  CFF_Font font,
69  CFF_Face face,
70  FT_Bool pure_cff,
71  FT_Bool cff2 );
72 
73  FT_LOCAL( void )
75 
76 
79  CFF_SubFont subfont,
80  FT_UInt lenNDV,
81  FT_Fixed* NDV );
82 
83  FT_LOCAL( FT_Byte )
85  FT_UInt glyph_index );
86 
87  FT_LOCAL( FT_Bool )
89  FT_UInt vsindex,
90  FT_UInt lenNDV,
91  FT_Fixed* NDV );
92 
95  FT_UInt vsindex,
96  FT_UInt lenNDV,
97  FT_Fixed* NDV );
98 
99  FT_LOCAL( void )
100  cff_blend_clear( CFF_SubFont subFont );
101 
102  FT_LOCAL( FT_Error )
105  FT_UInt numBlends );
106 
107 #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
108  FT_LOCAL( FT_Error )
109  cff_get_var_blend( CFF_Face face,
110  FT_UInt *num_coords,
111  FT_Fixed* *coords,
112  FT_Fixed* *normalizedcoords,
113  FT_MM_Var* *mm_var );
114 
115  FT_LOCAL( void )
116  cff_done_blend( CFF_Face face );
117 #endif
118 
119 
121 
122 #endif /* CFFLOAD_H_ */
123 
124 
125 /* END */
int FT_Error
Definition: fttypes.h:300
unsigned long FT_ULong
Definition: fttypes.h:253
cff_blend_check_vector(CFF_Blend blend, FT_UInt vsindex, FT_UInt lenNDV, FT_Fixed *NDV)
Definition: cffload.c:1554
CFF_Charset charset
Definition: cffcmap.c:138
FT_BEGIN_HEADER typedef TT_Face CFF_Face
Definition: cffotypes.h:33
#define FT_END_HEADER
Definition: ftheader.h:54
Definition: mk_font.cpp:20
cff_fd_select_get(CFF_FDSelect fdselect, FT_UInt glyph_index)
Definition: cffload.c:750
signed int FT_Int
Definition: fttypes.h:220
FT_BEGIN_HEADER cff_get_standard_encoding(FT_UInt charcode)
Definition: cffload.c:192
FT_UInt sid
Definition: cffcmap.c:139
GLuint coords
Definition: glext.h:7368
cff_font_done(CFF_Font font)
Definition: cffload.c:2499
FT_Library library
Definition: cffdrivr.c:654
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
static TfClientId cid
unsigned char FT_Byte
Definition: fttypes.h:154
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:387
unsigned int idx
Definition: utils.c:41
cff_index_get_string(CFF_Font font, FT_UInt element)
Definition: cffload.c:646
char FT_String
Definition: fttypes.h:187
cff_blend_doBlend(CFF_SubFont subfont, CFF_Parser parser, FT_UInt numBlends)
Definition: cffload.c:1280
cff_load_private_dict(CFF_Font font, CFF_SubFont subfont, FT_UInt lenNDV, FT_Fixed *NDV)
Definition: cffload.c:1865
cff_charset_cid_to_gindex(CFF_Charset charset, FT_UInt cid)
Definition: cffload.c:864
Definition: parse.h:22
cff_index_get_sid_string(CFF_Font font, FT_UInt sid)
Definition: cffload.c:656
signed long FT_Fixed
Definition: fttypes.h:288
cff_index_forget_element(CFF_Index idx, FT_Byte **pbytes)
Definition: cffload.c:596
unsigned int FT_UInt
Definition: fttypes.h:231
cff_index_access_element(CFF_Index idx, FT_UInt element, FT_Byte **pbytes, FT_ULong *pbyte_len)
Definition: cffload.c:498
cff_blend_build_vector(CFF_Blend blend, FT_UInt vsindex, FT_UInt lenNDV, FT_Fixed *NDV)
Definition: cffload.c:1387
cff_index_get_name(CFF_Font font, FT_UInt element)
Definition: cffload.c:611
cff_blend_clear(CFF_SubFont subFont)
Definition: cffload.c:1262
Definition: import.c:86
cff_font_load(FT_Library library, FT_Stream stream, FT_Int face_index, CFF_Font font, CFF_Face face, FT_Bool pure_cff, FT_Bool cff2)
Definition: cffload.c:2151
unsigned short FT_UShort
Definition: fttypes.h:209
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
FT_BEGIN_HEADER struct CFF_IndexRec_ * CFF_Index