[cairo-bugs] [Bug 34560] path operator fixup incorrectly applied to stroked paths in pdf/ps backends
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 8 01:33:45 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34560
--- Comment #1 from Andrea Canciani <ranma42 at gmail.com> 2011-03-08 01:33:44 PST ---
I wrote a test based on your and an hack to fix it here:
http://cgit.freedesktop.org/~ranma42/cairo/log/?h=wip/newtests
The problem is not _cairo_path_fixed_is_box(), but
_cairo_path_fixed_is_rectangle() in cairo-pdf-operators.c
The correct fix would probably be to implement a
_cairo_path_fixed_iter_is_stroke_box() based on
_cairo_path_fixed_iter_is_fill_box() and use them to emit rectangles when
targetting ps/pdf, but I'm not sure if it is worth the additional code.
I believe we can just emit explicit move_to/line_to commands to describe
rectangles in ps/pdf and get rid of _cairo_path_fixed_is_rectangle().
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list