• R/O
  • SSH
  • HTTPS

opfc: Commit


Commit MetaInfo

Revision918 (tree)
Zeit2011-10-07 16:39:16
Autorsho-otani

Log Message

Fixed for poppler-0.18.0

Ändern Zusammenfassung

Diff

--- pdftoopvp/trunk/pdftoopvp/configure.ac (revision 917)
+++ pdftoopvp/trunk/pdftoopvp/configure.ac (revision 918)
@@ -141,6 +141,11 @@
141141 AC_SUBST(FREETYPE_CFLAGS)
142142 AC_SUBST(FREETYPE_LIBS)
143143
144+dnl check SplashFontEngin::SplashFontEngin interface
145+if grep "enableSlightHinting" $POPPLER_SRCDIR/splash/SplashFontEngine.h >/dev/null ;then
146+ AC_DEFINE([SPLASH_SLIGHT_HINTING],,[SplashFontEngine enableSlightHinting])
147+fi
148+
144149 dnl check if cms is available
145150 if grep "setDisplayProfileName" $POPPLER_SRCDIR/poppler/GfxState.h >/dev/null ;then
146151 AC_DEFINE([USE_CMS],,[cms is available])
--- pdftoopvp/trunk/pdftoopvp/src/OPVPOutputDev.cc (revision 917)
+++ pdftoopvp/trunk/pdftoopvp/src/OPVPOutputDev.cc (revision 918)
@@ -273,7 +273,10 @@
273273 #if HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H
274274 globalParams->getEnableFreeType(),
275275 gFalse,
276+#ifdef SPLASH_SLIGHT_HINTING
277+ gFalse,
276278 #endif
279+#endif
277280 globalParams->getAntialias());
278281 for (i = 0; i < nT3Fonts; ++i) {
279282 delete t3FontCache[i];
@@ -323,9 +326,6 @@
323326 oprs->endPage();
324327 }
325328
326-void OPVPOutputDev::drawLink(Link *link, Catalog *catalog) {
327-}
328-
329329 void OPVPOutputDev::saveState(GfxState *state) {
330330 oprs->saveState();
331331 }
--- pdftoopvp/trunk/pdftoopvp/src/OPVPOutputDev.h (revision 917)
+++ pdftoopvp/trunk/pdftoopvp/src/OPVPOutputDev.h (revision 918)
@@ -83,9 +83,6 @@
8383 // End a page.
8484 virtual void endPage();
8585
86- //----- link borders
87- virtual void drawLink(Link *link, Catalog *catalog);
88-
8986 //----- save/restore graphics state
9087 virtual void saveState(GfxState *state);
9188 virtual void restoreState(GfxState *state);
Show on old repository browser