Light color text can disappear on printouts

VERIFIED FIXED in mozilla0.9.1

Status

()

Core
Printing: Output
VERIFIED FIXED
17 years ago
17 years ago

People

(Reporter: dcone (gone), Assigned: dcone (gone))

Tracking

Trunk
mozilla0.9.1
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

17 years ago
When text uses a light color.. it does not show up when you print.  This happens 
if you have a background that is dark, but that background is not printed.
(Assignee)

Comment 1

17 years ago
Created attachment 33543 [details] [diff] [review]
Fix for this bug
Some minor nits;

I would suggest changing aPrinting to be aNoBackground, also add a comment to
TransformColor to explain why we transform the color to grey when there is no
background. (i.e white text on a white background would not show up unless we
transform the color.)

The assignment
newcolor = 0x00404040;    // a dark gray,

would be a little clearer if you use the NS_RGB macro to set the color instead.

You should also add a //XXX comment which includes a new bug number which covers
expanding transform color to take in to account color printers and print option
settings for controlling the display of the background. Transform color should
be passed a nsPresShell which it can query to get info as to whether the
background will be printed.


r=kmcclusk@netscape.com

Updated

17 years ago
Target Milestone: --- → mozilla0.9.1

Comment 3

17 years ago
can we add an example in the URL field? thanks.
(Assignee)

Comment 4

17 years ago
Fixed.  Added a threshold to the textframe, so when we print without a 
background and the text is light..it will be darkened automatically.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 5

17 years ago
Don, do you have a URL to an image you can include in this
bug report, so I can test it out? I ran across some images
that were printing out all dark, so I can try and find those
again...if you know of an image I can use, please do append..
thanks!
(Assignee)

Comment 6

17 years ago
Created attachment 33875 [details]
small test case that illustrates the problem

Comment 7

17 years ago
Don, try printing image4 under ART4 at this URL:

http://10.4.101.11/syseng/browser

I get a dark printout for that image.

Is this the same problem as described in this bug report?

(Assignee)

Comment 8

17 years ago
no, this is white text on a dark colored background.  Since we don't print the 
backgrounds.. the white will be printed on white, and the page is blank.  Now if 
white text is being printed.. it will be darkened to show up.

Comment 9

17 years ago
okay I will file separate bug on this new issue.

Comment 10

17 years ago
verified in 5/11 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.