From: kramm Date: Thu, 28 Jun 2007 11:27:18 +0000 (+0000) Subject: pass type3 characters as "dummy" characters X-Git-Tag: buttons-working~616 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=41a32828cd45f872e07ed621a3929d24de1b161a pass type3 characters as "dummy" characters --- diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 56257a5..f6a361d 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -1125,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? */ }