[smooth,type1] Formatting, whitespace.
This commit is contained in:
parent
179caf5a61
commit
af03d1eaa1
|
@ -324,8 +324,10 @@
|
|||
|
||||
Exit:
|
||||
if ( !error )
|
||||
{
|
||||
/* everything is fine; the glyph is now officially a bitmap */
|
||||
slot->format = FT_GLYPH_FORMAT_BITMAP;
|
||||
}
|
||||
else if ( slot->internal->flags & FT_GLYPH_OWN_BITMAP )
|
||||
{
|
||||
FT_FREE( bitmap->buffer );
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
|
||||
PS_Driver driver = (PS_Driver)FT_FACE_DRIVER( face );
|
||||
|
||||
|
||||
decoder->font_matrix = type1->font_matrix;
|
||||
decoder->font_offset = type1->font_offset;
|
||||
|
||||
|
@ -85,7 +86,8 @@
|
|||
/* choose which renderer to use */
|
||||
if ( driver->hinting_engine == FT_T1_HINTING_FREETYPE ||
|
||||
decoder->builder.metrics_only )
|
||||
error = decoder_funcs->parse_charstrings_old( decoder,
|
||||
error = decoder_funcs->parse_charstrings_old(
|
||||
decoder,
|
||||
(FT_Byte*)char_string->pointer,
|
||||
(FT_UInt)char_string->length );
|
||||
else
|
||||
|
@ -95,10 +97,12 @@
|
|||
|
||||
psaux->ps_decoder_init( &psdecoder, decoder, TRUE );
|
||||
|
||||
psaux->t1_make_subfont( FT_FACE( face ), &face->type1.private_dict, &subfont );
|
||||
psaux->t1_make_subfont( FT_FACE( face ),
|
||||
&face->type1.private_dict, &subfont );
|
||||
psdecoder.current_subfont = &subfont;
|
||||
|
||||
error = decoder_funcs->parse_charstrings( &psdecoder,
|
||||
error = decoder_funcs->parse_charstrings(
|
||||
&psdecoder,
|
||||
(FT_Byte*)char_string->pointer,
|
||||
(FT_ULong)char_string->length );
|
||||
|
||||
|
@ -113,12 +117,12 @@
|
|||
|
||||
*force_scaling = TRUE;
|
||||
|
||||
error = decoder_funcs->parse_charstrings( &psdecoder,
|
||||
error = decoder_funcs->parse_charstrings(
|
||||
&psdecoder,
|
||||
(FT_Byte*)char_string->pointer,
|
||||
(FT_ULong)char_string->length );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
|
|
Loading…
Reference in New Issue