[poppler] poppler/TextOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Jan 19 08:16:25 PST 2013
poppler/TextOutputDev.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3db9472e2b016f1b411174273f27848193ab18e5
Author: José Aliste <jaliste at src.gnome.org>
Date: Fri Jan 18 15:22:03 2013 +0100
Add a null check for gfxFont
Bug #59561
diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index a2198df..b0b53fc 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -32,6 +32,7 @@
// Copyright (C) 2012 Horst Prote <prote at fmi.uni-stuttgart.de>
// Copyright (C) 2012 Jason Crain <jason at aquaticape.us>
// Copyright (C) 2012 Peter Breitenlohner <peb at mppmu.mpg.de>
+// Copyright (C) 2013 José Aliste <jaliste at src.gnome.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
@@ -2252,7 +2253,7 @@ void TextPage::beginWord(GfxState *state) {
// for vertical writing mode, the lines are effectively rotated 90
// degrees
- if (state->getFont()->getWMode()) {
+ if (gfxFont && gfxFont->getWMode()) {
rot = (rot + 1) & 3;
}
More information about the poppler
mailing list