X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.cc;h=08016cc66b43ecc2ccef253b3e9a31689f9f6e19;hb=a8df5b5187c97f33df050fce54f21466f44206f5;hp=49bb6dbba021a39c4db854c1f4c165548255d7bc;hpb=857174c423aafd86768d8f74eee7228208cd92fc;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 49bb6db..08016cc 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -864,7 +864,7 @@ void GFXOutputDev::tilingPatternFill(GfxState *state, Object *str, int x0, int y0, int x1, int y1, double xStep, double yStep) #else -void GFXBitmapOutputDev::tilingPatternFill(GfxState *state, Gfx *gfx, Object *str, +void GFXOutputDev::tilingPatternFill(GfxState *state, Gfx *gfx, Object *str, int paintType, Dict *resDict, double *mat, double *bbox, int x0, int y0, int x1, int y1, @@ -1325,7 +1325,7 @@ void GFXOutputDev::drawChar(GfxState *state, double x, double y, // check for invisible text -- this is used by Acrobat Capture if (render == RENDER_INVISIBLE) { - col.a = 0; + col.a = 255; if(!config_extrafontdata) return; } @@ -2553,14 +2553,15 @@ void GFXOutputDev::beginTransparencyGroup(GfxState *state, double *bbox, void GFXOutputDev::endTransparencyGroup(GfxState *state) { dbgindent-=2; - dbg("endTransparencyGroup"); - msg(" endTransparencyGroup"); - gfxdevice_t*r = this->device; this->device = states[statepos].olddevice; gfxresult_t*recording = r->finish(r); + + dbg("endTransparencyGroup forsoftmask=%d recording=%08x/%08x", states[statepos].createsoftmask, r, recording); + msg(" endTransparencyGroup forsoftmask=%d recording=%08x/%08x", states[statepos].createsoftmask, r, recording); + if(states[statepos].createsoftmask) { states[statepos-1].softmaskrecording = recording; } else {