Summary: | Stroking a line with a pattern as source does not work with SVG output | ||
---|---|---|---|
Product: | cairo | Reporter: | Tom Hughes <tom> |
Component: | svg backend | Assignee: | Emmanuel Pacaud <emmanuel.pacaud> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 1.5.9 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Source for test case
Image for pattern Example of failing output |
Created attachment 14401 [details]
Image for pattern
Could you please attach the resulting SVG file ? Thanks, Emmanuel. Created attachment 14461 [details]
Example of failing output
Here's an example of the SVG produced by the test case, as requested.
Fixed in cairo HEAD. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 14400 [details] Source for test case Setting an image pattern as the source and then stroking the line does not seem to work with the SVG backend. The attached test case takes a PNG file (also attached) and draws a horizontal line with it. The SVG file that is produced looks like it is trying to do something, but neither inkscape, rsvg nor firefox seems to render anything. Compiling the test case with -DPDF to produce PDF output gives a PDF file that does seem to draw the line as expected.