Summary: | EPS output works poorly with dvips | ||
---|---|---|---|
Product: | cairo | Reporter: | tommie |
Component: | postscript backend | Assignee: | Adrian Johnson <ajohnson> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 1.10.3 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | fix EPS |
Description
tommie
2011-12-08 08:20:44 UTC
Created attachment 54266 [details] [review] fix EPS I'm not sure why I used that EPS prolog/trailer. Looking at the EPS spec it looks like I copied it from the example not realizing that code was meant for the application, not the EPS file. The attached patch should fix the problem. Let me know if it works and I will commit it. The patch simplifies the EPS code to: save 50 dict begin ..... end restore (In reply to comment #1) > The attached patch should fix the problem. Let me know if it works and I will > commit it. The patch simplifies the EPS code to: The patch looks good. Tested it against 1.8.10 (Debian Squeeze, standard patch fuzz factor) with Inkscape. The raw output works in gs(1), and the generated dvips(1)-file looks good in Evince. Thank you. Fixed in http://cgit.freedesktop.org/cairo/commit /?id=c7ea92907a7eaaf62136755d0b6c60da913d1057 Thanks for the bug report and analysis. |
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.