X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.cc;h=f6a361d079302e2fa04c59783d05a1ce2da5076b;hb=6636b0071ea28fe147638b4b8b71f9990800f992;hp=5f4b111161c8c8136dd6df6d4de24a268d28bb1e;hpb=c24ecd9bc561623d9ffedc810f719aede47b3f00;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 5f4b111..f6a361d 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -791,8 +791,6 @@ void GFXOutputDev::endframe() device->endclip(device); outer_clip_box = 0; } - - device->endpage(device); } void GFXOutputDev::finish() @@ -1127,6 +1125,16 @@ GBool GFXOutputDev::beginType3Char(GfxState *state, double x, double y, double d { msg(" beginType3Char %d, %08x, %d", code, *u, uLen); type3active = 1; + + int t; + + gfxcolor_t col={255,0,0,0}; + gfxmatrix_t m = {1,0,0, 0,1,0}; + + for(t=0;tdrawchar(device, 0, u[t], &col, &m); + } + /* the character itself is going to be passed using the draw functions */ return gFalse; /* gTrue= is_in_cache? */ }