<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:clement.igonet@galaxysemi.com" title="Clement IGONET <clement.igonet@galaxysemi.com>"> <span class="fn">Clement IGONET</span></a>
</span> changed
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - PDF 'printing' produces bad content"
href="https://bugs.webkit.org/show_bug.cgi?id=79926">bug 79926</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>clement.igonet@galaxysemi.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - PDF 'printing' produces bad content"
href="https://bugs.webkit.org/show_bug.cgi?id=79926#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - PDF 'printing' produces bad content"
href="https://bugs.webkit.org/show_bug.cgi?id=79926">bug 79926</a>
from <span class="vcard"><a class="email" href="mailto:clement.igonet@galaxysemi.com" title="Clement IGONET <clement.igonet@galaxysemi.com>"> <span class="fn">Clement IGONET</span></a>
</span></b>
<pre>Workaround:
--- qt-everywhere-enterprise-src-5.2.1/qtbase/src/gui/painting/qpdf.cpp 2013-08-25 22:04:41.000000000 +0200
+++ qt-everywhere-enterprise-new-5.2.1/qtbase/src/gui/painting/qpdf.cpp 2013-11-04 10:40:37.861325437 +0100
@@ -1061,7 +1061,16 @@
if (d->simplePen) {
// draw strokes natively in this case for better output
+ QBrush oldBrush = d->brush;
+ if (d->opacity != 1.0 && !d->hasBrush) {
+ d->brush = d->pen.brush();
+ setBrush();
+ }
*d->currentPage << QPdf::generatePath(p, QTransform(), d->hasBrush ? QPdf::FillAndStrokePath : QPdf::StrokePath);
+ if (oldBrush != d->brush) {
+ d->brush = oldBrush;
+ setBrush();
+ }
} else {
if (d->hasBrush)
*d->currentPage << QPdf::generatePath(p, d->stroker.matrix, QPdf::FillPath);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>