61 #ifdef FT_CONFIG_OPTION_INCREMENTAL 63 face->root.internal->incremental_interface;
67 FT_TRACE1((
"cid_load_glyph: glyph index %d\n", glyph_index ));
69 #ifdef FT_CONFIG_OPTION_INCREMENTAL 79 glyph_index, &glyph_data );
86 if ( glyph_data.
length != 0 )
113 glyph_index * entry_len ) ||
128 FT_TRACE0((
"cid_load_glyph: invalid glyph stream offsets\n" ));
133 glyph_length = off2 - off1;
134 if ( glyph_length == 0 )
136 if (
FT_ALLOC( charstring, glyph_length ) )
139 charstring, glyph_length ) )
157 dict =
cid->font_dicts + fd_select;
167 if ( cs_offset > glyph_length )
169 FT_TRACE0((
"cid_load_glyph: invalid glyph stream offsets\n" ));
175 if ( decoder->
lenIV >= 0 )
176 psaux->t1_decrypt( charstring, glyph_length, 4330 );
179 #ifdef T1_CONFIG_OPTION_OLD_ENGINE 183 error = psaux->t1_decoder_funcs->parse_charstrings_old(
185 charstring + cs_offset,
186 glyph_length - cs_offset );
189 error = psaux->t1_decoder_funcs->parse_metrics(
191 charstring + cs_offset,
192 glyph_length - cs_offset );
200 psaux->ps_decoder_init( &psdecoder, decoder,
TRUE );
207 error = psaux->t1_decoder_funcs->parse_charstrings(
209 charstring + cs_offset,
210 glyph_length - cs_offset );
221 force_scaling =
TRUE;
223 error = psaux->t1_decoder_funcs->parse_charstrings(
225 charstring + cs_offset,
226 glyph_length - cs_offset );
231 #ifdef FT_CONFIG_OPTION_INCREMENTAL #define FT_ALLOC(ptr, size)
struct CID_FaceRec_ * CID_Face
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
#define FT_HINTING_FREETYPE
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
CFF_SubFont current_subfont
static char memory[1024 *256]
FT_Incremental_GetGlyphDataFunc get_glyph_data
FT_BEGIN_HEADER struct PS_DriverRec_ * PS_Driver
#define FT_FACE_DRIVER(x)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
#define FT_TRACE1(varformat)
#define FT_STREAM_READ_AT(position, buffer, count)
#define FT_TRACE0(varformat)
FT_Incremental_GetGlyphMetricsFunc get_glyph_metrics
struct CID_GlyphSlotRec_ * CID_GlyphSlot
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
PS_PrivateRec private_dict
#define FT_STREAM_SEEK(position)
FT_Incremental_FreeGlyphDataFunc free_glyph_data
#define FT_FRAME_ENTER(size)
cid_get_offset(FT_Byte **start, FT_Byte offsize)
const FT_Incremental_FuncsRec * funcs
GLenum GLuint GLint GLenum face