* src/truetype/ttgload.c (load_truetype_glyph): Rearrange.

master
Alexei Podtelezhnikov 3 months ago
parent 5f2abe76fe
commit f02bffad0f
  1. 14
      src/truetype/ttgload.c

@ -1566,13 +1566,14 @@
if ( header_only )
goto Exit;
if ( loader->byte_len == 0 || loader->n_contours == 0 )
{
#ifdef FT_CONFIG_OPTION_INCREMENTAL
tt_get_metrics_incremental( loader, glyph_index );
tt_get_metrics_incremental( loader, glyph_index );
#endif
tt_loader_set_pp( loader );
tt_loader_set_pp( loader );
/* shortcut for empty glyphs */
if ( loader->byte_len == 0 || loader->n_contours == 0 )
{
#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…
Cancel
Save