[poppler] poppler/ArthurOutputDev.cc

Pino Toscano pino at kemper.freedesktop.org
Wed Jan 30 13:18:18 PST 2008


 poppler/ArthurOutputDev.cc |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 1ea831d3eee6eda35fadfb3c75962a0c708e6c7b
Author: Pino Toscano <pino at kde.org>
Date:   Wed Jan 30 22:17:38 2008 +0100

    Preprocessor #warning is GCC-specific.

diff --git a/poppler/ArthurOutputDev.cc b/poppler/ArthurOutputDev.cc
index 134c05c..ff5a77a 100644
--- a/poppler/ArthurOutputDev.cc
+++ b/poppler/ArthurOutputDev.cc
@@ -237,7 +237,9 @@ void ArthurOutputDev::updateStrokeOpacity(GfxState *state)
 
 void ArthurOutputDev::updateFont(GfxState *state)
 {
+#ifdef __GNUC__
 #warning fix this, probably update with updated code from SplashOutputdev
+#endif
 /*
   GfxFont *gfxFont;
   GfxFontType fontType;
@@ -511,7 +513,9 @@ void ArthurOutputDev::drawChar(GfxState *state, double x, double y,
 		       fontPath->pts[i+1].x+x0, fontPath->pts[i+1].y+y0);
 	  ++i;
 	}
+#ifdef __GNUC__
 #warning FIX THIS
+#endif
 // 	else if (fontPath->flags[i] & splashPathArcCW) {
 // 	  qDebug() << "Need to implement arc";
 // 	}


More information about the poppler mailing list