poppler/poppler-0.43.0-type3-chars-position.patch
2016-07-11 18:43:01 +02:00

27 lines
665 B
Diff

From 182abe4ed5c0773073c6751a26a7c4e40e99e02e Mon Sep 17 00:00:00 2001
From: Thomas Freitag <Thomas.Freitag@alfa.de>
Date: Fri, 13 May 2016 00:07:24 +0200
Subject: [PATCH] Splash: type 3 chars. restore the current position also in
output device
Bug #95344
---
poppler/Gfx.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index cc6b66d..7d748b9 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -4046,6 +4046,7 @@ void Gfx::doShowText(GooString *s) {
curX += tdx;
curY += tdy;
state->moveTo(curX, curY);
+ out->updateCTM(state, 0, 0, 0, 0, 0, 0);
p += n;
len -= n;
}
--
2.7.4