Bug 78320

Summary: cairo-interpreter fails to replay/capture correctly
Product: cairo Reporter: janezz55
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.16   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: original .svg file
librsvg generated .png
cairo script capture of librsvg output
the cairo-interpreter render of the .cs

Description janezz55 2014-05-06 04:39:35 UTC
Created attachment 98529 [details]
original .svg file

cairo script is a wonderful debugging facility. It can also serve to store cairo drawings. I am using it as a workaround to the lack of .svg decoding support in cairo. The idea is:

- render the .svg with librsvg while capturing the output into a .cs file,
- replay the .cs file with cairo-interpreter.

By and large the approach works, if only the capture/replay process worked correctly. I am providing 3 attachments. The first is a .png generated by librsvg and a corresponding .cs, captured by cairo and a .png, generated by replaying the .cs. The .cs generates a blue "halo", where a shadow should be.
Comment 1 janezz55 2014-05-06 04:42:34 UTC
Created attachment 98530 [details]
librsvg generated .png
Comment 2 janezz55 2014-05-06 04:55:48 UTC
Created attachment 98531 [details]
cairo script capture of librsvg output
Comment 3 janezz55 2014-05-06 04:57:59 UTC
Created attachment 98532 [details]
the cairo-interpreter render of the .cs

Note the blue "halo" where a shadow should be. It is missing from the the .png generated by librsvg.
Comment 4 GitLab Migration User 2018-08-25 13:45:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/176.

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.