Closed Bug 283432 Opened 19 years ago Closed 19 years ago

[Postscript] We should use "undef" only if postscript level >1

Categories

(Core :: Printing: Output, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: leon.sha, Assigned: leon.sha)

References

Details

Attachments

(2 files)

Undef is a postscript level 2 feture.
We should use it if the printer support undef.
Attached patch PatchSplinter Review
Assignee: printing → leon.sha
Status: NEW → ASSIGNED
Attachment #175408 - Flags: review?(kherron+mozilla)
Attachment #175408 - Flags: review?(kherron+mozilla) → review+
Summary: [Postscript] We should use "undef" only if postscript leve >1 → [Postscript] We should use "undef" only if postscript level >1
Attachment #175408 - Flags: superreview?(roc)
Attachment #175408 - Flags: superreview?(roc) → superreview+
Er, on further reflection, this needs a "pop" to remove the dictionary that
"/undef where" pushes onto the stack:

    /undef where { pop /rowdata where { /rowdata undef } if } if

Checking in nsPostScriptObj.cpp;
/cvsroot/mozilla/gfx/src/ps/nsPostScriptObj.cpp,v  <--  nsPostScriptObj.cpp
new revision: 1.117; previous revision: 1.116
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: