* src/psaux/psfont.c (cf2_font_setup): Fix compiler warning.
This commit is contained in:
parent
94ebc24865
commit
03f3f8ab9e
|
@ -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>
|
2019-05-12 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[truetype] Doh. Fix last commit to make it work.
|
[truetype] Doh. Fix last commit to make it work.
|
||||||
|
|
|
@ -274,9 +274,6 @@
|
||||||
|
|
||||||
if ( !font->isT1 )
|
if ( !font->isT1 )
|
||||||
{
|
{
|
||||||
FT_Service_CFFLoad cffload = (FT_Service_CFFLoad)font->cffload;
|
|
||||||
|
|
||||||
|
|
||||||
/* check for variation vectors */
|
/* check for variation vectors */
|
||||||
vstore = cf2_getVStore( decoder );
|
vstore = cf2_getVStore( decoder );
|
||||||
hasVariations = ( vstore->dataCount != 0 );
|
hasVariations = ( vstore->dataCount != 0 );
|
||||||
|
@ -284,6 +281,9 @@
|
||||||
if ( hasVariations )
|
if ( hasVariations )
|
||||||
{
|
{
|
||||||
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
#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 */
|
/* check whether Private DICT in this subfont needs to be reparsed */
|
||||||
font->error = cf2_getNormalizedVector( decoder,
|
font->error = cf2_getNormalizedVector( decoder,
|
||||||
&lenNormalizedV,
|
&lenNormalizedV,
|
||||||
|
|
Loading…
Reference in New Issue