diff --git a/ChangeLog b/ChangeLog index e4ec61658..f7897215c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2017-09-21 Werner Lemberg + + [sfnt] Fix postscript name for default instance of variation fonts. + + Problem reported by Behdad. + + * src/sfnt/sfdriver.c (sfnt_get_ps_name): Test + `is_default_instance'. + 2017-09-21 Werner Lemberg [truetype] Fix `mmvar' array pointers, part 2. diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c index 991433ee4..b4f084247 100644 --- a/src/sfnt/sfdriver.c +++ b/src/sfnt/sfdriver.c @@ -1029,7 +1029,7 @@ return face->postscript_name; #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT - if ( face->blend ) + if ( face->blend && !face->is_default_instance ) { face->postscript_name = sfnt_get_var_ps_name( face ); return face->postscript_name;