From 6253f8a29f12eea01da9c5e41af4ece65b0ac19b Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 23 Nov 2008 13:51:46 +0000 Subject: [PATCH] fixed dot dashes --- lib/pdf/GFXOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) 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; -- 1.7.10.4