PS Level Restriction reversed

Bug #698340 reported by Michael Culbertson on 2011-01-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Michael Culbertson

Bug Description

When saving postscript via Cairo, the option to restrict the generated PS to level 2 or 3 produces the reversed effect (selecting "restrict to level 2" generates level 3 PS and selecting "restrict to level 3" generates level 2 PS). This seems to be due to an inappropriate negation of the comparison of the PSlevel option value with "PS3" in cairo-ps-out.cpp (see attached patch).

Inkscape version 0.48.

su_v (suv-lp) wrote :

Possibly fixes bug #491590 “EPS Level 3 export Rasterized”

tags: added: eps exporting ps
su_v (suv-lp) wrote :

Patch tested and fix confirmed for bug #491590 with Inkscape 0.48+devel r9999+patch on OS X 10.5.8 (Cairo 10.0.2) using the example attached there:

@JazzyNico - can you verify on linux (possibly win32 too)? If accepted, this fix should be backported to 0.48.x (for 0.48.1 or 0.48.2).

Changed in inkscape:
importance: Undecided → Medium
status: New → In Progress
su_v (suv-lp) wrote :

@Michael Culbertson - thank you for investigating this issue and sharing the patch!

su_v (suv-lp) wrote :

Fix tested and confirmed with test case from bug #585286:

The patch solves the issue for both Postscript export formats (PS, EPS).

jazzynico (jazzynico) wrote :

Fix confirmed on Ubuntu 10.04, and committed in the trunk, revision 10000 (yeah!).
Thanks Michael!

Changed in inkscape:
milestone: none → 0.49
status: In Progress → Fix Committed
jazzynico (jazzynico) wrote :

Also committed in the 0.48.x branch, revision 9754.
(milestone confirmation pending)

jazzynico (jazzynico) on 2011-01-16
Changed in inkscape:
milestone: 0.49 → 0.48.1
jazzynico (jazzynico) on 2011-03-05
Changed in inkscape:
status: Fix Committed → Fix Released
assignee: nobody → Michael Culbertson (michael-culbertson)
heyzuess (heyzeuss) wrote :

Not yet fixed in Windows 7 Inkscape 0.48.4 r9939. I don't understand what:

    milestone: 0.49 → 0.48.1

means. Does it mean that it will be fixed in 0.49?

jazzynico (jazzynico) wrote :

@heyzuess, the bug you're referring to is Windows specific and is tracked in Bug #1157064 "Inkscape save PostScript with wrong level".

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers