forked from minhngoc25a/freetype2
[cff] minor cleanup
This commit is contained in:
parent
c7f2a52f86
commit
71b45f99b1
|
@ -253,9 +253,6 @@
|
||||||
CFF_VarData* varData;
|
CFF_VarData* varData;
|
||||||
CF2_UInt master;
|
CF2_UInt master;
|
||||||
|
|
||||||
FT_UNUSED( lenNormalizedVector );
|
|
||||||
FT_UNUSED( vsindex );
|
|
||||||
|
|
||||||
FT_ASSERT( lenBlendVector && blendVector );
|
FT_ASSERT( lenBlendVector && blendVector );
|
||||||
FT_ASSERT( lenNormalizedVector == 0 || normalizedVector );
|
FT_ASSERT( lenNormalizedVector == 0 || normalizedVector );
|
||||||
FT_TRACE4(( "cf2_buildBlendVector\n" ));
|
FT_TRACE4(( "cf2_buildBlendVector\n" ));
|
||||||
|
|
|
@ -425,8 +425,7 @@
|
||||||
return &decoder->cff->vstore;
|
return &decoder->cff->vstore;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* get maxstack value from CFF2 Top DICT */
|
/* get maxstack value from CFF2 Top DICT */
|
||||||
/* Note: CFF2 Font DICT contains only the default maxstack value */
|
|
||||||
FT_LOCAL_DEF ( FT_UInt )
|
FT_LOCAL_DEF ( FT_UInt )
|
||||||
cf2_getMaxstack( CFF_Decoder* decoder )
|
cf2_getMaxstack( CFF_Decoder* decoder )
|
||||||
{
|
{
|
||||||
|
|
|
@ -562,7 +562,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* allocate an operand stack */
|
/* allocate an operand stack */
|
||||||
stackSize = font->isCFF2 ? cf2_getMaxstack( decoder ) :
|
stackSize = font->isCFF2 ? cf2_getMaxstack( decoder ) :
|
||||||
CF2_OPERAND_STACK_SIZE;
|
CF2_OPERAND_STACK_SIZE;
|
||||||
opStack = cf2_stack_init( memory, error, stackSize );
|
opStack = cf2_stack_init( memory, error, stackSize );
|
||||||
if ( !opStack )
|
if ( !opStack )
|
||||||
|
|
|
@ -1328,9 +1328,6 @@ Exit:
|
||||||
CFF_VarData* varData;
|
CFF_VarData* varData;
|
||||||
FT_UInt master;
|
FT_UInt master;
|
||||||
|
|
||||||
FT_UNUSED( lenNDV );
|
|
||||||
FT_UNUSED( vsindex );
|
|
||||||
|
|
||||||
FT_ASSERT( lenNDV == 0 || NDV );
|
FT_ASSERT( lenNDV == 0 || NDV );
|
||||||
|
|
||||||
blend->builtBV = FALSE;
|
blend->builtBV = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue