Fixed for poppler-0.18.0
@@ -141,6 +141,11 @@ | ||
141 | 141 | AC_SUBST(FREETYPE_CFLAGS) |
142 | 142 | AC_SUBST(FREETYPE_LIBS) |
143 | 143 | |
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 | + | |
144 | 149 | dnl check if cms is available |
145 | 150 | if grep "setDisplayProfileName" $POPPLER_SRCDIR/poppler/GfxState.h >/dev/null ;then |
146 | 151 | AC_DEFINE([USE_CMS],,[cms is available]) |
@@ -273,7 +273,10 @@ | ||
273 | 273 | #if HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H |
274 | 274 | globalParams->getEnableFreeType(), |
275 | 275 | gFalse, |
276 | +#ifdef SPLASH_SLIGHT_HINTING | |
277 | + gFalse, | |
276 | 278 | #endif |
279 | +#endif | |
277 | 280 | globalParams->getAntialias()); |
278 | 281 | for (i = 0; i < nT3Fonts; ++i) { |
279 | 282 | delete t3FontCache[i]; |
@@ -323,9 +326,6 @@ | ||
323 | 326 | oprs->endPage(); |
324 | 327 | } |
325 | 328 | |
326 | -void OPVPOutputDev::drawLink(Link *link, Catalog *catalog) { | |
327 | -} | |
328 | - | |
329 | 329 | void OPVPOutputDev::saveState(GfxState *state) { |
330 | 330 | oprs->saveState(); |
331 | 331 | } |
@@ -83,9 +83,6 @@ | ||
83 | 83 | // End a page. |
84 | 84 | virtual void endPage(); |
85 | 85 | |
86 | - //----- link borders | |
87 | - virtual void drawLink(Link *link, Catalog *catalog); | |
88 | - | |
89 | 86 | //----- save/restore graphics state |
90 | 87 | virtual void saveState(GfxState *state); |
91 | 88 | virtual void restoreState(GfxState *state); |