* src/psaux/psfont.c (cf2_font_setup): Fix compiler warning.

This commit is contained in:
Werner Lemberg 2019-05-13 06:53:19 +02:00
parent 94ebc24865
commit 03f3f8ab9e
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2019-05-13 Werner Lemberg <wl@gnu.org>
* src/psaux/psfont.c (cf2_font_setup): Fix compiler warning.
2019-05-12 Werner Lemberg <wl@gnu.org>
[truetype] Doh. Fix last commit to make it work.

View File

@ -274,9 +274,6 @@
if ( !font->isT1 )
{
FT_Service_CFFLoad cffload = (FT_Service_CFFLoad)font->cffload;
/* check for variation vectors */
vstore = cf2_getVStore( decoder );
hasVariations = ( vstore->dataCount != 0 );
@ -284,6 +281,9 @@
if ( hasVariations )
{
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
FT_Service_CFFLoad cffload = (FT_Service_CFFLoad)font->cffload;
/* check whether Private DICT in this subfont needs to be reparsed */
font->error = cf2_getNormalizedVector( decoder,
&lenNormalizedV,