qt5/src/ArthurOutputDev.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 1b84a71ee2550ae4b14cb1e40576de1f022eb2e8 Author: Oliver Sander <[email protected]> Date: Tue Aug 22 11:43:08 2017 +0200 Use Qt::SvgMiterJoin instead of Qt::MiterJoin The two differ in what happens when the miter limit is exceeded. According to https://bugreports.qt.io/browse/QTBUG-52640 Qt::SvgMiterJoin is what the pdf standard requires. Closes: https://bugs.freedesktop.org/show_bug.cgi?id=102356 diff --git a/qt5/src/ArthurOutputDev.cc b/qt5/src/ArthurOutputDev.cc index 8fad2559..fe285aa9 100644 --- a/qt5/src/ArthurOutputDev.cc +++ b/qt5/src/ArthurOutputDev.cc @@ -205,7 +205,10 @@ void ArthurOutputDev::updateLineJoin(GfxState *state) { switch (state->getLineJoin()) { case 0: - m_currentPen.setJoinStyle(Qt::MiterJoin); + // The correct style here is Qt::SvgMiterJoin, *not* Qt::MiterJoin. + // The two differ in what to do if the miter limit is exceeded. + // See https://bugs.freedesktop.org/show_bug.cgi?id=102356 + m_currentPen.setJoinStyle(Qt::SvgMiterJoin); break; case 1: m_currentPen.setJoinStyle(Qt::RoundJoin); _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
