* src/cff/cf2blues.c: Remove dead code.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
diff --git a/ChangeLog b/ChangeLog
index 3681f2b..dad855f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/src/cff/cf2blues.c b/src/cff/cf2blues.c
index fd94bbb..958b098 100644
--- a/src/cff/cf2blues.c
+++ b/src/cff/cf2blues.c
@@ -55,24 +55,18 @@
/*
- * 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 )
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;
diff --git a/src/cff/cf2font.c b/src/cff/cf2font.c
index 97ae799..d8e0619 100644
--- 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;