Certain GIF is printed in white on black bottom.

VERIFIED FIXED

Status

()

--
major
VERIFIED FIXED
17 years ago
16 years ago

People

(Reporter: sjtanguay, Assigned: dcone)

Tracking

Trunk
x86
OS/2
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

17 years ago
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
(Reporter)

Comment 3

17 years ago
Created attachment 92105 [details]
The GIF is printed in white on black bottom.

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.
(Reporter)

Comment 4

17 years ago
Yes, I can test with recent nightly builds next Monday.
(Reporter)

Comment 5

17 years ago
It's not work with recent nightly builds. 

Comment 6

17 years ago
What kind of printer/driver are you using? Is it postscript? Have you tried
printing with a different printer?
(Reporter)

Comment 7

17 years ago
The driver that I use IBMPPS.IBM Network Printer 17 Version 1.19. Yes, it is 
postscript. Yes, I tried with a different printer.

Comment 8

17 years ago
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.
(Reporter)

Comment 9

17 years ago
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?

Comment 10

17 years ago
-->
Assignee: rods → dcone

Comment 11

17 years ago
Created attachment 94235 [details] [diff] [review]
Fix

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 12

17 years ago
Comment on attachment 94235 [details] [diff] [review]
Fix

r=dainis (via mail)
sr=blizzard (platform specific)
Attachment #94235 - Flags: superreview+
Attachment #94235 - Flags: review+

Comment 13

17 years ago
Fix checked in
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 14

16 years ago
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.