Closed
Bug 185233
Opened 22 years ago
Closed 16 years ago
text-align: right has gap at end of line in print preview depending on character kerning (wobbly/misaligned print preview of RTL/Hebrew pages)
Categories
(Core :: Print Preview, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: matthew.van.eerde, Unassigned)
References
Details
(Keywords: rtl, testcase)
Attachments
(4 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 A block element with text-align: right and multiple lines of content will display in Print Preview with ragged padding on the right edge depending on the character content of the line. This occurs only in Print Preview: the browser looks OK, the printed page looks OK. Reproducible: Always Steps to Reproduce: 1. Create a <div style="text-align: right;"> 2. Put some lines with <br>s between them and different content between lines 3. Go to Print Preview Actual Results: Print Preview displayed the lines with correct content but the right-align did not accurately align the right edges of each line. Expected Results: The Print Preview should display similarly to the browser - the right edge of the rightmost character in each line should be aligned.
Reporter | ||
Comment 1•22 years ago
|
||
Go to Print Preview on this attachment
Comment 2•22 years ago
|
||
Print Preview shows this wrong for me, too Win2k SP3 - Mozilla 1.2.1 Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Comment 3•21 years ago
|
||
Same problem on Linux with Mozilla 1.4b.
Comment 4•21 years ago
|
||
Confirming on WinXP 2003052808.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•21 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 5•21 years ago
|
||
There is this problem also for input type text: <input style="text-align: right;" value="test">
Comment 6•20 years ago
|
||
*** Bug 244409 has been marked as a duplicate of this bug. ***
Comment 7•20 years ago
|
||
This problem effects Hebrew pages (and probably Arabic ones too), as those usually include dir="rtl". The bug occurs even in pages that don't explicitly specify text-align: right, therefore I'm adding this to the summary of the bug to make it easier to find. I'm also changing OS to All, see comment #3. Prog.
OS: Windows 2000 → All
Summary: text-align: right has gap at end of line in print preview depending on character kerning → text-align: right has gap at end of line in print preview depending on character kerning (wobbly/misaligned print preview of RTL/Hebrew pages)
Comment 8•20 years ago
|
||
This bug looks very similar to bugs #140636 and #140759 I suppose they are closely related, and probably the same problem cause the 3 bugs.
Updated•20 years ago
|
Assignee: rods → core.printing
QA Contact: sujay
Comment 9•20 years ago
|
||
I see a similar thing with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041108 Firefox/1.0 - the Hebrew page looks fine on screen, but when printing to PDF via Acrobat distiller the lines are jagged.
Comment 10•20 years ago
|
||
Comment 11•20 years ago
|
||
Comment 12•20 years ago
|
||
Attachment #166684 -
Attachment is obsolete: true
Comment 13•19 years ago
|
||
Comment 14•19 years ago
|
||
Had problems with this bug for a while now. Added testcase using
Comment 15•16 years ago
|
||
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Comment 16•16 years ago
|
||
I can't reproduce this any more (tested with print preview on Windows and print-to-pdf on Mac). Please reopen if this is still a problem in a trunk build.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•