[cairo-bugs] [Bug 86535] New: Small objects in vector backends are optimized away

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 21 13:01:56 PST 2014


            Bug ID: 86535
           Summary: Small objects in vector backends are optimized away
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: ajohnson at redneon.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 109815
  --> https://bugs.freedesktop.org/attachment.cgi?id=109815&action=edit
test case

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770297 has a pdf that loses
the minus signs after running through pdftocairo.

I've reduced the pdf to a minimal test case that draws a single minus sign (the
minus sign is drawn as an image mask).

Reproduce with:

pdftocairo -pdf test.pdf out.pdf

or any other vector backend. The minus sign is lost.


pdftocairo -ps test.pdf out.ps

and observe that the image is not included in the output:

q 0 883 0 1 rectclip q

I found _cairo_pattern_get_extents was rounding the height down to 0. It seems
to be assuming that all backends are pixel based.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20141121/4a75ae9f/attachment.html>

More information about the cairo-bugs mailing list