From 41a32828cd45f872e07ed621a3929d24de1b161a Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 28 Jun 2007 11:27:18 +0000 Subject: [PATCH] pass type3 characters as "dummy" characters --- lib/pdf/GFXOutputDev.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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? */ } -- 1.7.10.4