[poppler] Branch 'poppler-0.12' - poppler/CairoOutputDev.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Wed Dec 9 10:49:32 PST 2009


 poppler/CairoOutputDev.cc |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 36abc88231e3d62b12a98afcb0a3c4ed5f07a1e6
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Wed Dec 9 19:45:40 2009 +0100

    [cairo] Update font of TextPage in CairoOutputDev::updateAll()
    
    Fixes a crash with some documents, see Evince bug
    https://bugzilla.gnome.org/show_bug.cgi?id=603934

diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 25d4167..a00db24 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -292,6 +292,8 @@ void CairoOutputDev::updateAll(GfxState *state) {
   updateStrokeOpacity(state);
   updateBlendMode(state);
   needFontUpdate = gTrue;
+  if (text)
+    text->updateFont(state);
 }
 
 void CairoOutputDev::setDefaultCTM(double *ctm) {


More information about the poppler mailing list