[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo-bugs
Subject: [cairo-bugs] [Bug 77298] New: inkscape fails to print thin lines to PDF
From: bugzilla-daemon () freedesktop ! org
Date: 2014-04-11 2:43:50
Message-ID: bug-77298-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]
--1397184231.1BfB4F11.702
Date: Fri, 11 Apr 2014 02:43:51 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=77298
Priority: medium
Bug ID: 77298
Assignee: ajohnson@redneon.com
Summary: inkscape fails to print thin lines to PDF
QA Contact: cairo-bugs@cairographics.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: jnweiger@gmail.com
Hardware: Other
Status: NEW
Version: 1.12.16
Component: pdf backend
Product: cairo
Since 1.12.3, cairo cannot render fine lines to pdf. 1.12.2 was the last
version that worked.
http://cgit.freedesktop.org/cair/diff/?id=bdf83008f4b2c723fd8e65e2a92bc47a2e7bc442
introduced this code in cairo-compositor.c:_cairo_compositor_stroke
if (_cairo_pen_vertices_needed (tolerance, style->line_width/2, ctm) <= 1)
return CAIRO_INT_STATUS_NOTHING_TO_DO;
The idea was to avoid lines that would be invisible when rasterized. While this
is a valid logic for raster backends, it is a bad idea for PDF output. There we
want to see all fine lines.
My specific use case is generating a lasercutter drawing for an Epilog Zing
laser with inkscape. There the hardware would raster anything thicker than
0.02mm, and cut 0.01mm or below. 1.12.3 skips lines below 0.036mm, 1.13.1 skips
lines below 0.018mm -- which is still not enough to safely drive my
lasercutter.
See also https://bugs.launchpad.net/inkscape/+bug/1174909
Check out the attached reproducer.
--
You are receiving this mail because:
You are the QA Contact for the bug.
--1397184231.1BfB4F11.702
Date: Fri, 11 Apr 2014 02:43:51 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - inkscape fails to print thin lines to PDF"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77298">77298</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ajohnson@redneon.com
</td>
</tr>
<tr>
<th>Summary</th>
<td>inkscape fails to print thin lines to PDF
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jnweiger@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.12.16
</td>
</tr>
<tr>
<th>Component</th>
<td>pdf backend
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr></table>
<p>
<div>
<pre>Since 1.12.3, cairo cannot render fine lines to pdf. 1.12.2 was the last
version that worked.
<a href="http://cgit.freedesktop.org/cair/diff/?id=bdf83008f4b2c723fd8e65e2a92bc47a2e7 \
bc442">http://cgit.freedesktop.org/cair/diff/?id=bdf83008f4b2c723fd8e65e2a92bc47a2e7bc442</a>
introduced this code in cairo-compositor.c:_cairo_compositor_stroke
if (_cairo_pen_vertices_needed (tolerance, style->line_width/2, ctm) <= 1)
return CAIRO_INT_STATUS_NOTHING_TO_DO;
The idea was to avoid lines that would be invisible when rasterized. While this
is a valid logic for raster backends, it is a bad idea for PDF output. There we
want to see all fine lines.
My specific use case is generating a lasercutter drawing for an Epilog Zing
laser with inkscape. There the hardware would raster anything thicker than
0.02mm, and cut 0.01mm or below. 1.12.3 skips lines below 0.036mm, 1.13.1 skips
lines below 0.018mm -- which is still not enough to safely drive my
lasercutter.
See also <a href="https://bugs.launchpad.net/inkscape/+bug/1174909">https://bugs.launchpad.net/inkscape/+bug/1174909</a>
Check out the attached reproducer.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>
--1397184231.1BfB4F11.702--
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic