[poppler] poppler/SplashOutputDev.h

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Mar 11 15:38:42 PDT 2012


 poppler/SplashOutputDev.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 4388cb69114e406ec29e8b6976d1a900e4ab1b7d
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Mar 11 23:37:39 2012 +0100

    Make doUpdateFont protected
    
    So that people inheriting from SplashOutputDev *yuck* can use it more easily
    Bug 46622

diff --git a/poppler/SplashOutputDev.h b/poppler/SplashOutputDev.h
index 91e678f..95a7f65 100644
--- a/poppler/SplashOutputDev.h
+++ b/poppler/SplashOutputDev.h
@@ -20,6 +20,7 @@
 // Copyright (C) 2011 Andreas Hartmetz <ahartmetz at gmail.com>
 // Copyright (C) 2011 Andrea Canciani <ranma42 at gmail.com>
 // Copyright (C) 2011 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2012 Albert Astals Cid <aacid at kde.org>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -349,6 +350,9 @@ public:
 
   void setFreeTypeHinting(GBool enable, GBool enableSlightHinting);
 
+protected:
+  void doUpdateFont(GfxState *state);
+
 private:
   GBool univariateShadedFill(GfxState *state, SplashUnivariatePattern *pattern, double tMin, double tMax);
 
@@ -362,7 +366,6 @@ private:
 			int overprintMode, GfxColor *singleColor, GBool grayIndexed = gFalse);
   SplashPath *convertPath(GfxState *state, GfxPath *path,
 			  GBool dropEmptySubpaths);
-  void doUpdateFont(GfxState *state);
   void drawType3Glyph(GfxState *state, T3FontCache *t3Font,
 		      T3FontCacheTag *tag, Guchar *data);
   static GBool imageMaskSrc(void *data, SplashColorPtr line);


More information about the poppler mailing list