Commit 22f509e6 authored by Brad Hards's avatar Brad Hards

Fix up the fill problem with drawing text, where the "middle" of glyphs

with a "hole" (like d, o, p, b, g) got filled. Also remove some debugging
code. The glyphs are still ugly though.
parent 7bf5d10c
2005-08-01 Brad Hards <bradh@frogmouth.net>
* poppler/ArthurOutputDev.cc: Fix up the fill problem with
drawing text, where the "middle" of glyphs with a "hole"
(like d, o, p, b, g) got filled. Also remove some debugging
code. The glyphs are still ugly though.
2005-07-31 Brad Hards <bradh@frogmouth.net>
* poppler/ArthurOutputDev.cc: An initial version of proper
......
......@@ -536,21 +536,10 @@ void ArthurOutputDev::drawChar(GfxState *state, double x, double y,
qPath.lineTo(x0+fontPath->pts[i].x, y0+fontPath->pts[i].y);
}
if (fontPath->flags[i] & splashPathLast) {
// change this around to just show the outline in black
#if 1
m_painter->drawPath( qPath );
#else
m_painter->save();
m_painter->setBrush(QBrush(Qt::NoBrush));
QPen thisPen(m_painter->pen());
thisPen.setWidth(0);
m_painter->setPen(thisPen);
qPath.closeSubpath();
m_painter->drawPath( qPath );
m_painter->restore();
#endif
}
}
m_painter->drawPath( qPath );
}
}
......
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