diff options
Diffstat (limited to 'src/type1/t1objs.c')
-rw-r--r-- | src/type1/t1objs.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c index 547af263d..c62e72b7e 100644 --- a/src/type1/t1objs.c +++ b/src/type1/t1objs.c @@ -211,11 +211,6 @@ FT_FREE( info->full_name ); FT_FREE( info->family_name ); FT_FREE( info->weight ); - - FT_FREE( info->italic_angle ); - FT_FREE( info->underline_position ); - FT_FREE( info->underline_thickness ); - FT_FREE( info->is_fixed_pitch ); } /* release top dictionary */ @@ -341,7 +336,7 @@ root->face_flags |= FT_FACE_FLAG_HORIZONTAL; root->face_flags |= FT_FACE_FLAG_GLYPH_NAMES; - if ( info->is_fixed_pitch && *info->is_fixed_pitch ) + if ( info->is_fixed_pitch ) root->face_flags |= FT_FACE_FLAG_FIXED_WIDTH; if ( face->blend ) @@ -394,7 +389,7 @@ /* compute style flags */ root->style_flags = 0; - if ( info->italic_angle && *info->italic_angle ) + if ( info->italic_angle ) root->style_flags |= FT_STYLE_FLAG_ITALIC; if ( info->weight ) { @@ -439,10 +434,8 @@ root->max_advance_height = root->height; - if ( info->underline_position ) - root->underline_position = *info->underline_position >> 16; - if ( info->underline_thickness ) - root->underline_thickness = *info->underline_thickness >> 16; + root->underline_position = info->underline_position >> 16; + root->underline_thickness = info->underline_thickness >> 16; root->internal->max_points = 0; root->internal->max_contours = 0; |