ref: 99033fefb65af660e0d613ac923c0dc4391d6726
parent: b3c3f86e58e6afa7f1055630ac6bfe96c624d50c
author: Werner Lemberg <[email protected]>
date: Fri May 3 13:39:24 EDT 2013
* src/cff/cf2blues.c: Remove dead code.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2013-05-12 Chris Liddell <[email protected]>
+2013-05-03 Werner Lemberg <[email protected]>
+
+ * src/cff/cf2blues.c: Remove dead code.
+
+2013-05-02 Chris Liddell <[email protected]>
* src/cff/cffgload.c: Include FT_CFF_DRIVER_H.
--- a/src/cff/cf2blues.c
+++ b/src/cff/cf2blues.c
@@ -55,16 +55,11 @@
/*
- * For blue values, FreeType parser produces an array of integers, while
- * PFR parser produces an array of fixed.
+ * For blue values, the FreeType parser produces an array of integers,
+ * while the Adobe CFF engine produces an array of fixed.
* Define a macro to convert FreeType to fixed.
- *
*/
-#if 1
#define cf2_blueToFixed( x ) cf2_intToFixed( x )
-#else
-#define cf2_blueToFixed( x ) ( x )
-#endif
FT_LOCAL_DEF( void )
@@ -71,8 +66,7 @@
cf2_blues_init( CF2_Blues blues,
CF2_Font font )
{
- /* pointer to parsed font object, either PFR ParsedFont or FreeType */
- /* Decoder */
+ /* pointer to parsed font object */
CFF_Decoder* decoder = font->decoder;
CF2_Fixed zoneHeight;
--- a/src/cff/cf2font.c
+++ b/src/cff/cf2font.c
@@ -140,8 +140,7 @@
cf2_font_setup( CF2_Font font,
const CF2_Matrix* transform )
{
- /* pointer to parsed font object, either PFR ParsedFont or FreeType */
- /* Decoder */
+ /* pointer to parsed font object */
CFF_Decoder* decoder = font->decoder;
FT_Bool needExtraSetup = FALSE;