diff --git a/ChangeLog b/ChangeLog index 24c66c15b..3c9d4bf0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2017-02-23 Werner Lemberg + + [truetype] Minor improvement. + + * src/truetype/ttgload.c (TT_Process_Simple_Glyph, + load_truetype_glyph): Remove unnecessary tests. + 2017-02-23 Werner Lemberg * include/freetype/internal/tttypes.h (TT_Face): s/isCFF2/is_cff2/. diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 64dc05c1c..0fdaa85f2 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -886,7 +886,7 @@ #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT - if ( loader->face->doblend && !loader->face->is_default_instance ) + if ( !loader->face->is_default_instance ) { /* Deltas apply to the unscaled data. */ error = TT_Vary_Apply_Glyph_Deltas( loader->face, @@ -1574,7 +1574,7 @@ #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT - if ( loader->face->doblend && !loader->face->is_default_instance ) + if ( !loader->face->is_default_instance ) { /* a small outline structure with four elements for */ /* communication with `TT_Vary_Apply_Glyph_Deltas' */ @@ -1745,7 +1745,7 @@ #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT - if ( face->doblend && !face->is_default_instance ) + if ( !face->is_default_instance ) { short i, limit; FT_SubGlyph subglyph;