X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.cc;h=940f5a055ad529071b09444af40b599a91a957d0;hb=ec424e44ccbd7d6773d01feb8adcd327a5636446;hp=7d45e50a7d28cffef958a90ef536837a9df2510f;hpb=54dec77656eb9177c9dab01962a33f571ab25ee0;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 7d45e50..940f5a0 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -575,6 +575,7 @@ GFXOutputDev::GFXOutputDev(InfoOutputDev*info, PDFDoc*doc) this->config_multiply = 1; this->gfxfontlist = gfxfontlist_create(); + this->dashPattern = 0; memset(states, 0, sizeof(states)); this->featurewarnings = 0; @@ -1372,7 +1373,7 @@ void GFXOutputDev::drawChar(GfxState *state, double x, double y, gfxmatrix_t m = this->current_font_matrix; this->transformXY(state, x-originX, y-originY, &m.tx, &m.ty); - m.tx += originX; m.ty += originY; + //m.tx += originX; m.ty += originY; if(render == RENDER_FILL || render == RENDER_INVISIBLE) { device->drawchar(device, current_gfxfont, glyphid, &col, &m);