252 |
#endif /* 0 */ |
#endif /* 0 */ |
253 |
|
|
254 |
|
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
/********** *********/ |
|
|
/********** *********/ |
|
|
/********** UNHINTED GLYPH LOADER *********/ |
|
|
/********** *********/ |
|
|
/********** The following code is in charge of loading a *********/ |
|
|
/********** single outline. It completely ignores hinting *********/ |
|
|
/********** and is used when FT_LOAD_NO_HINTING is set. *********/ |
|
|
/********** *********/ |
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
|
|
|
|
|
255 |
FT_LOCAL_DEF( FT_Error ) |
FT_LOCAL_DEF( FT_Error ) |
256 |
cid_slot_load_glyph( FT_GlyphSlot cidglyph, /* CID_GlyphSlot */ |
cid_slot_load_glyph( FT_GlyphSlot cidglyph, /* CID_GlyphSlot */ |
257 |
FT_Size cidsize, /* CID_Size */ |
FT_Size cidsize, /* CID_Size */ |
378 |
|
|
379 |
|
|
380 |
/* First of all, scale the points */ |
/* First of all, scale the points */ |
381 |
if ( !hinting ) |
if ( !hinting || !decoder.builder.hints_funcs ) |
382 |
for ( n = cur->n_points; n > 0; n--, vec++ ) |
for ( n = cur->n_points; n > 0; n--, vec++ ) |
383 |
{ |
{ |
384 |
vec->x = FT_MulFix( vec->x, x_scale ); |
vec->x = FT_MulFix( vec->x, x_scale ); |