195 |
} |
} |
196 |
|
|
197 |
|
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
/********** *********/ |
|
|
/********** 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. *********/ |
|
|
/********** *********/ |
|
|
/********** The Type 1 hinter is located in `t1hint.c' *********/ |
|
|
/********** *********/ |
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
/*************************************************************************/ |
|
|
|
|
|
|
|
198 |
FT_LOCAL_DEF( FT_Error ) |
FT_LOCAL_DEF( FT_Error ) |
199 |
T1_Load_Glyph( T1_GlyphSlot glyph, |
T1_Load_Glyph( T1_GlyphSlot glyph, |
200 |
T1_Size size, |
T1_Size size, |
335 |
|
|
336 |
|
|
337 |
/* First of all, scale the points, if we are not hinting */ |
/* First of all, scale the points, if we are not hinting */ |
338 |
if ( !hinting ) |
if ( !hinting || ! decoder.builder.hints_funcs ) |
339 |
for ( n = cur->n_points; n > 0; n--, vec++ ) |
for ( n = cur->n_points; n > 0; n--, vec++ ) |
340 |
{ |
{ |
341 |
vec->x = FT_MulFix( vec->x, x_scale ); |
vec->x = FT_MulFix( vec->x, x_scale ); |