← Back to team overview

desktop-packages team mailing list archive

[Bug 1306846]

 

Created attachment 118385
attachment-30721-0.html

This seems excessively complex, rather than having the later handler (the
one turning a non-zero float into a zero fixed) be patched instead. I
figure it would be correct for all backends to turn very tiny but non-zero
line widths into the smallest ones they can render.


On Mon, Sep 21, 2015 at 5:18 AM, <bugzilla-daemon@xxxxxxxxxxxxxxx> wrote:

> *Comment # 12 <https://bugs.freedesktop.org/show_bug.cgi?id=77298#c12> on
> bug 77298 <https://bugs.freedesktop.org/show_bug.cgi?id=77298> from Adrian
> Johnson <ajohnson@xxxxxxxxxxx> *
>
> Created attachment 118381 <https://bugs.freedesktop.org/attachment.cgi?id=118381> [details] <https://bugs.freedesktop.org/attachment.cgi?id=118381&action=edit> [review] <https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=77298&attachment=118381>
> cairo test for thin lines
>
> This patch contains a cairo test for thin lines.
>
> ------------------------------
> You are receiving this mail because:
>
>    - You are watching the QA Contact of the bug.
>
>

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cairo in Ubuntu.
https://bugs.launchpad.net/bugs/1306846

Title:
  Inkscape (using cairo) fails to print thin lines to PDF

Status in libcairo:
  Confirmed
Status in cairo package in Ubuntu:
  Triaged

Bug description:
  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 code 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.

  Previously reported against inkscape:
  https://bugs.launchpad.net/inkscape/+bug/1174909

  Also reported agains cairo upstream with a suggested fix: https://bugs.freedesktop.org/show_bug.cgi?id=77298
  Check out the attached reproducer and fix.

  I'd suggest to circulate patched ubuntu packages, until upstream
  releases an official fix.

To manage notifications about this bug go to:
https://bugs.launchpad.net/libcairo/+bug/1306846/+subscriptions