--- poppler-git-Y/poppler/Gfx.cc.org 2009-02-14 17:47:20.000000000 +0900 +++ poppler-git-Y/poppler/Gfx.cc 2009-02-14 17:48:37.000000000 +0900 @@ -1846,10 +1846,6 @@ out->updateFillColor(state); state->setStrokePattern(NULL); out->updateStrokeColor(state); - if (!stroke) { - state->setLineWidth(0); - out->updateLineWidth(state); - } // clip to current path if (stroke) { @@ -1864,6 +1860,8 @@ } } state->clearPath(); + state->setLineWidth(0); + out->updateLineWidth(state); // get the clip region, check for empty state->getClipBBox(&cxMin, &cyMin, &cxMax, &cyMax);