* src/cff/cf2blues.c: Remove dead code.

This commit is contained in:
Werner Lemberg 2013-05-03 17:39:24 +02:00
parent b3c3f86e58
commit 99033fefb6
3 changed files with 9 additions and 12 deletions

View File

@ -1,4 +1,8 @@
2013-05-12 Chris Liddell <chris.liddell@artifex.com> 2013-05-03 Werner Lemberg <wl@gnu.org>
* src/cff/cf2blues.c: Remove dead code.
2013-05-02 Chris Liddell <chris.liddell@artifex.com>
* src/cff/cffgload.c: Include FT_CFF_DRIVER_H. * src/cff/cffgload.c: Include FT_CFF_DRIVER_H.

View File

@ -55,24 +55,18 @@
/* /*
* For blue values, FreeType parser produces an array of integers, while * For blue values, the FreeType parser produces an array of integers,
* PFR parser produces an array of fixed. * while the Adobe CFF engine produces an array of fixed.
* Define a macro to convert FreeType to fixed. * Define a macro to convert FreeType to fixed.
*
*/ */
#if 1
#define cf2_blueToFixed( x ) cf2_intToFixed( x ) #define cf2_blueToFixed( x ) cf2_intToFixed( x )
#else
#define cf2_blueToFixed( x ) ( x )
#endif
FT_LOCAL_DEF( void ) FT_LOCAL_DEF( void )
cf2_blues_init( CF2_Blues blues, cf2_blues_init( CF2_Blues blues,
CF2_Font font ) CF2_Font font )
{ {
/* pointer to parsed font object, either PFR ParsedFont or FreeType */ /* pointer to parsed font object */
/* Decoder */
CFF_Decoder* decoder = font->decoder; CFF_Decoder* decoder = font->decoder;
CF2_Fixed zoneHeight; CF2_Fixed zoneHeight;

View File

@ -140,8 +140,7 @@
cf2_font_setup( CF2_Font font, cf2_font_setup( CF2_Font font,
const CF2_Matrix* transform ) const CF2_Matrix* transform )
{ {
/* pointer to parsed font object, either PFR ParsedFont or FreeType */ /* pointer to parsed font object */
/* Decoder */
CFF_Decoder* decoder = font->decoder; CFF_Decoder* decoder = font->decoder;
FT_Bool needExtraSetup = FALSE; FT_Bool needExtraSetup = FALSE;