[poppler] poppler/CairoOutputDev.cc

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


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

New commits:
commit 4e6af25a028d16608111634c5467420e31fa399b
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 191fa33..9a0f3be 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -294,6 +294,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