poppler/CairoOutputDev.cc | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 36abc88231e3d62b12a98afcb0a3c4ed5f07a1e6
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 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) {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler