Closed Bug 158472 Opened 22 years ago Closed 22 years ago

Certain GIF is printed in white on black bottom.

Categories

(Core :: Printing: Output, defect)

x86
OS/2
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: sjtanguay, Assigned: dcone)

Details

Attachments

(2 files)

When I print a page HTML which contains some images in GIF format, the image 
is printed in white on black bottom with Mozilla 1.0 for OS/2. If I use 
Netscape 4.6 for OS/2, Netscape 4.7 for Win2000, Mozilla 1.0 for Win2000, the 
image is printed in black on white bottom.
Do you have an exaple page or image to test with? Can you test with recent
nightly builds <http://ftp.mozilla.org/pub/mozilla/nightly/latest-1.0/> and
<http://ftp.mozilla.org/pub/mozilla/nightly/latest-trunk/>?

related: bug 12037 bug 137114 bug 137115
->browser, not bugzilla
Assignee: justdave → rods
Component: Bugzilla-General → Printing
Product: Bugzilla → Browser
QA Contact: matty → sujay
Version: unspecified → other
The GIF is printed in white on black bottom. No, I am not tested with recent
nightly builds. But, I'm tested with Mozilla 1.1 Alpha Released.
Yes, I can test with recent nightly builds next Monday.
It's not work with recent nightly builds. 
What kind of printer/driver are you using? Is it postscript? Have you tried
printing with a different printer?
The driver that I use IBMPPS.IBM Network Printer 17 Version 1.19. Yes, it is 
postscript. Yes, I tried with a different printer.
This image is a transparent gif. Transparent gifs are treated 
differently on different drivers. The image gets printed with the 
drivers background, which is black on some drivers, and white on 
others. It does print with a black background on postscript drivers. 
There's a similar problem with pngs. This has also been a problem on 
other platforms.
When I use Netscape 4.61 for OS/2 with same computer and printer, the 
image is printed in black on white bottom. Why it does not work with Mozilla 
and work with Netscape?
-->
Assignee: rods → dcone
Attached patch FixSplinter Review
My attempt at a fix.

If we are printing, use a memory PS to create the output image and make sure
the background is GpiErased.
Comment on attachment 94235 [details] [diff] [review]
Fix

r=dainis (via mail)
sr=blizzard (platform specific)
Attachment #94235 - Flags: superreview+
Attachment #94235 - Flags: review+
Fix checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified fixed as best as I can right now.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: