Hi!
This patch adds a way to access needFontUpdate in classes derived from
SplashOutputDev.  This is needed to be able to know when to call the
already available (i.e. protected) doUpdateFont.

Regards, Jan-Erik

diff -aur orig-poppler-0.54.0/poppler/SplashOutputDev.h poppler-0.54.0/poppler/SplashOutputDev.h
--- orig-poppler-0.54.0/poppler/SplashOutputDev.h	2017-03-08 21:42:54.000000000 +0000
+++ poppler-0.54.0/poppler/SplashOutputDev.h	2017-06-08 07:52:38.099761842 +0000
@@ -397,6 +397,7 @@
 
 protected:
   void doUpdateFont(GfxState *state);
+  GBool getNeedFontUpdate() { return needFontUpdate; }
 
 private:
   GBool univariateShadedFill(GfxState *state, SplashUnivariatePattern *pattern, double tMin, double tMax);
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to