summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc')
-rw-r--r--Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc b/Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc
index 73963302b00..a19e8c66e38 100644
--- a/Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-src/poppler/SplashOutputDev.cc
@@ -2512,6 +2512,13 @@ GBool SplashOutputDev::beginType3Char(GfxState *state, double x, double y,
double x1, y1, xMin, yMin, xMax, yMax, xt, yt;
int i, j;
+ // check for invisible text -- this is used by Acrobat Capture
+ if (state->getRender() == 3) {
+ // this is a bit of cheating, we say yes, font is already on cache
+ // so we actually skip the rendering of it
+ return gTrue;
+ }
+
if (skipHorizText || skipRotatedText) {
state->getFontTransMat(&m[0], &m[1], &m[2], &m[3]);
horiz = m[0] > 0 && fabs(m[1]) < 0.001 &&