Commit c805e25f authored by Kristian Høgsberg's avatar Kristian Høgsberg

2006-01-26 Kristian Høgsberg <krh@redhat.com>

        * poppler/CairoOutputDev.cc: Patch from Christian Krause; handle
        0-width lines (#5545).
parent 4f48abcd
2006-01-26 Kristian Høgsberg <krh@redhat.com>
* poppler/CairoOutputDev.cc: Patch from Christian Krause; handle
0-width lines (#5545).
Tue Jan 24 01:19:40 2006 Jonathan Blandford <jrb@redhat.com>
* glib/Makefile.am:
......
......@@ -194,7 +194,11 @@ void CairoOutputDev::updateMiterLimit(GfxState *state) {
void CairoOutputDev::updateLineWidth(GfxState *state) {
LOG(printf ("line width: %f\n", state->getTransformedLineWidth()));
cairo_set_line_width (cairo, state->getTransformedLineWidth());
if (state->getTransformedLineWidth() == 0.0) {
cairo_set_line_width (cairo, 72.0/300.0);
} else {
cairo_set_line_width (cairo, state->getTransformedLineWidth());
}
}
void CairoOutputDev::updateFillColor(GfxState *state) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment