* src/truetype/ttgload.c (load_truetype_glyph): Rearrange.
This commit is contained in:
parent
5f2abe76fe
commit
f02bffad0f
@ -1566,13 +1566,14 @@
|
||||
if ( header_only )
|
||||
goto Exit;
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
tt_get_metrics_incremental( loader, glyph_index );
|
||||
#endif
|
||||
tt_loader_set_pp( loader );
|
||||
|
||||
/* shortcut for empty glyphs */
|
||||
if ( loader->byte_len == 0 || loader->n_contours == 0 )
|
||||
{
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
tt_get_metrics_incremental( loader, glyph_index );
|
||||
#endif
|
||||
tt_loader_set_pp( loader );
|
||||
|
||||
|
||||
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
||||
|
||||
@ -1627,11 +1628,6 @@
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
tt_get_metrics_incremental( loader, glyph_index );
|
||||
#endif
|
||||
tt_loader_set_pp( loader );
|
||||
|
||||
|
||||
/***********************************************************************/
|
||||
/***********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user