<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [EMF] PenStyle rendering is inaccurate, PS_INSIDEFRAME is incorrect"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=142161">142161</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[EMF] PenStyle rendering is inaccurate, PS_INSIDEFRAME is incorrect
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>graphics stack
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>frob@df.ru
</td>
</tr></table>
<p>
<div>
<pre>Description:
LO seems to wrongly scale dashes in pen strokes and not consider PS_INSIDEFRAME
for PenStyle in EMF.
Steps to Reproduce:
Open attached EMF sample.
Actual Results:
LO draws almost solid lines with a minimal gaps. Middle shape in the bottom row
has the same size as other shapes.
Expected Results:
MS seems to use pen width to calculate the radius of the dots and add a gap of
about same size between dots and/or dashes.
Width of the pen have to be equally distributed on both side of the path for
all pens except PS_INSIDEFRAME (middle in the bottom row).
For PS_INSIDEFRAME according to the spec all width of the pen should be used
inside of the path -- the shape size should match with BBox.
Reproducible: Always
User Profile Reset: No
Additional Info:
Thin black lines are added to highlight the difference. Y-coord for them are
200, 210, 360. Shapes on the bottom line have their Ymin/Ymax at 210 and 360.
Pen width is 20.</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>