Closed Bug 79477 Opened 25 years ago Closed 25 years ago

Light color text can disappear on printouts

Categories

(Core :: Printing: Output, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: dcone, Assigned: dcone)

Details

Attachments

(2 files)

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.
Attached patch Fix for this bugSplinter Review
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
Target Milestone: --- → mozilla0.9.1
can we add an example in the URL field? thanks.
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
Closed: 25 years ago
Resolution: --- → FIXED
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!
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?
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.
okay I will file separate bug on this new issue.
verified in 5/11 build.
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: