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.
Created attachment 98530 [details] librsvg generated .png
Created attachment 98531 [details] cairo script capture of librsvg output
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.
-- 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.