Closed Bug 192629 Opened 22 years ago Closed 21 years ago

Certain GIF is printed in white on black bottom with PCL 5

Categories

(Core :: Printing: Output, defect)

x86
OS/2
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: leetartak, Assigned: mkaply)

Details

(Keywords: fixed1.4)

Attachments

(2 files, 1 obsolete file)

This is a continuation of bug 158472. The fix for that bug took care of all
situations except for Laserjet in non PCL6 mode. If the Laserjet driver is set
to PCL6 or printer specific in any case the image prints correctly.  This is an
OS2 bug only.  Will attach image below.
Attached patch Patch to fix problem (obsolete) — Splinter Review
As part of  processing the image the code creates a temp bitmap in a memory DC.
 The bitmap was created with a color depth of 8 BPP.  In this color depth the
GPI erase filled the background with BLACK for laserjet non PCL6 modes For all
other devices and printer compatible PSs WHITE	is used.  However when the temp
bitmap color depth is set to 24 BPP when creating the background is WHITE as it
should. Since all the printer DCs can handle 24 BPP is better to work in
thatdepth anyway.
Old patch did not work with optimized code.
Attachment #114115 - Attachment is obsolete: true
taking
Assignee: rods → mkaply
Comment on attachment 120109 [details] [diff] [review]
New patch to fix problem

r=mkaply, sr=blizzard, a=mkaply
Attachment #120109 - Flags: superreview+
Attachment #120109 - Flags: review+
Attachment #120109 - Flags: approval1.4+
Fixed on trunk and 1.4
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: fixed1.4
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: