Closed Bug 136785 Opened 22 years ago Closed 22 years ago

Print Preview uses the Zoom and shouldn't

Categories

(Core :: Printing: Output, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: relf, Assigned: rods)

References

()

Details

(Whiteboard: [FIXED_ON_TRUNK])

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:0.9.9+) Gecko/20020409
BuildID:    2002040916

Mozilla always print 100% scaled text (no matter what Print Preview shows).

Reproducible: Always
Steps to Reproduce:
1. Go to given URL
2. Set View -> Text Zoom -> 50%
3. Go to File->Print Preview and see that all text takes 8 pages (in my case).
4. Push "Print" button and get 28 pages on the printer of 100% scaled text


Actual Results:  Text is printed unscaled. No correlation with what Print
Preview shows.
Happens on Windows as well.

Either print preview shouldn't scale, or we should print scaled.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: OS/2 → All
Hardware: PC → All
Changing scale in Print Preview takes no effect either.
So at the moment there is no way to print scaled text. ;(
Looks like Print Preview takes into account Text Zooming and should or print
need to take into account text zooming
Zoom/Text Zoom is for visually "zooming" the page in galley mode but is not
intended to to do anyhting for printing. Scaling in the the page setup is
intended for that.

The bug here is that PP obeys the TextZoom and should not.
Status: NEW → ASSIGNED
Keywords: nsbeta1
Summary: Scaling has no effect on actually printed text → Print Preview uses the Zoom and shouldn't
Target Milestone: --- → mozilla1.0
nsbeta1+
Keywords: nsbeta1nsbeta1+
Attached patch patchSplinter Review
Cache the Zoom and TextZoom for the main DC while in Print Preview and then set
it back when leaving Print Preview
Comment on attachment 78947 [details] [diff] [review]
patch

r=dcone
Attachment #78947 - Flags: review+
Comment on attachment 78947 [details] [diff] [review]
patch

sr=attinasi
Attachment #78947 - Flags: review+ → superreview+
Attachment #78947 - Flags: superreview+ → review+
Comment on attachment 78947 [details] [diff] [review]
patch

sett as sr per marc's sr comment
Attachment #78947 - Flags: superreview+
Whiteboard: [FIXED_ON_TRUNK]
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
adt: Fixing this bug is important in maintaining the user's confidence that
print preview is showing what the actual printed page will look like.
Keywords: adt1.0.0
verified on 4/16 trunk build.

Max, this should be working for you now..download latest build
to see fix....if not fixed, then REOPEN.
Status: RESOLVED → VERIFIED
sujay, is there any reason why you think this might be reopened?
Nice fix but not for the problem I tried to state. Mostly I worried about
ability to print scaled text. I didn't have it before, neither do now.

What I had before:
Print Preview showed scaled text but the was printed unscaled;

What I have now:
Print Preview doesn't scale text at all, and the text is still printed unscale.

Should I reopen this bug, or create a new burreport?
Sorry for misprints in previous posting.

Nice fix but not for the problem I tried to state. Mostly I worried about
ability to print scaled text. I didn't have it before, neither do now.

What I had before:
Print Preview showed scaled text, but the text was printed unscaled;

What I have now:
Print Preview doesn't scale text at all, and the text is still printed unscaled.

Should I reopen this bug, or create a new bugreport?
filed bug 137984 for new issue.
Zoom doesn't affect scaling zooming is only for the viewing of web pages not
printing. If you are trying to scal from Print Preview, first open the UI and
turn off "Shrink To Fit" the UI toolbar in PP should be disabled when Shrink TO
Fit is o. That bug has already been filed.
adding adt1.0.0+.  Please check into the branch as soon as possible and add
fixed1.0.0
Keywords: adt1.0.0adt1.0.0+
Keywords: fixed1.0.0
fixed on branch
verified in 4/23 branch build.
Keywords: verified1.0.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: