Summary: | Patch for not using '\' to split strings across multiple lines breaks printing and PS viewers | ||
---|---|---|---|
Product: | cairo | Reporter: | Alex Korobkin <korobkin+lpad> |
Component: | general | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | ajohnson, dag, john.mcpherson |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
patch
cafe2.pdf cafe2.ps |
Description
Alex Korobkin
2014-10-30 20:36:40 UTC
I've reverted the problematic patch in trunk. I'm hopeful that a better fix can be found for the original issue, and am CCing Adrian. This (or a better fix) is a candidate for 1.14.2 Created attachment 108707 [details] [review] patch Please attach a pdf for reproducing the problem and your ps output. It works fine for me with ghostscript 9.06. Please try the attached patch. (In reply to Bryce Harrington from comment #1) > I've reverted the problematic patch in trunk. > > I'm hopeful that a better fix can be found for the original issue, and am > CCing Adrian. > > This (or a better fix) is a candidate for 1.14.2 I'm sure we can find a better fix since reverting it breaks printing on my printer. I'll work on analyzing this problem but don't expect an immediate response. I've been sleeping for the last 8 hours. I've pushed a fix for this. Created attachment 108728 [details]
cafe2.pdf
Created attachment 108729 [details]
cafe2.ps
Here is a resulting file with broken lines.
I tested the suggested patch. Looks like it makes one long line (aaabbbcccc) instead of
(aaa)
(bbb)
(cccc)
This works with my Evince, GS, and my printers, though I'm not sure what is the limit of length for such a line.
*** Bug 89406 has been marked as a duplicate of this bug. *** |
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.