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

New commits:
commit 4e6af25a028d16608111634c5467420e31fa399b
Author: Carlos Garcia Campos <[email protected]>
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) {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to