From: kramm Date: Sun, 23 Nov 2008 13:51:46 +0000 (+0000) Subject: fixed dot dashes X-Git-Tag: release-0-9-0~808 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=6253f8a29f12eea01da9c5e41af4ece65b0ac19b;p=swftools.git fixed dot dashes --- diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index e0ade7f..7f19c24 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -1090,6 +1090,8 @@ void GFXOutputDev::strokeGfxline(GfxState *state, gfxline_t*line, int flags) msg(" | phase: %f", this->dashStart); for(t=0;tdashLength;t++) { dash[t] = (float)this->dashPattern[t] * f; + if(!dash[t]) + dash[t] = 1e-37; msg(" | d%-3d: %f", t, this->dashPattern[t]); } dash[this->dashLength] = -1;