diff options
author | Matthias Kramm <kramm@quiss.org> | 2012-05-14 11:34:39 -0700 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2012-05-14 11:34:39 -0700 |
commit | dbd8d190daeba054fb1f8977da57cfc1e53c721b (patch) | |
tree | c00f7a40b42e748d573406457e0bf360b1cb43df | |
parent | e22ec9f3ddafef9a767186cecd5c513b3a5c3302 (diff) |
fix for invisible characters appearing in pdf2swf documents
-rw-r--r-- | lib/pdf/CharOutputDev.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pdf/CharOutputDev.cc b/lib/pdf/CharOutputDev.cc index 475c614b..e1d19b22 100644 --- a/lib/pdf/CharOutputDev.cc +++ b/lib/pdf/CharOutputDev.cc @@ -796,7 +796,9 @@ void CharOutputDev::drawChar(GfxState *state, double x, double y, } // check for invisible text -- this is used by Acrobat Capture - if (render == RENDER_INVISIBLE) { + if (render == RENDER_INVISIBLE || + render == RENDER_FILL && state->getFillColorSpace()->isNonMarking() || + render == RENDER_STROKE && state->getStrokeColorSpace()->isNonMarking()) { col.a = 0; if(!config_extrafontdata) return; |