Closed Bug 117434 Opened 24 years ago Closed 18 years ago

Letter spacing is strange

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: tessarakt, Assigned: dcone)

References

()

Details

Attachments

(6 files)

When printing http://www.enode.de/datenbanken.php with Build 2001122611, the letter spacing is quite strange. See attached PDF file, produced from the Mozilla PS output.
The page is using "text-align:justify" so we add space between words to make them be flush with the left and right edge.... The letter-spacing does not seem to be affected; only the word-spacing is.
Well, if you look at the PDF, the later spacing _is_ strange. If you zoom in, it becomes even more clear. Do I understand you right that text-align:justify is not the reason for this strange behavior?
hmm... yes, the PDF has some too-big letter-spacing at times. This should not be caused by text-align:justify, but it could be....
Status: UNCONFIRMED → NEW
Ever confirmed: true
Related: bug 40130. In fact, I bet this is a duplicate....
Depends on: 40130
I don't get it, but it is a core layout issue anyway.
Assignee: rods → attinasi
Reassigning to Don
Assignee: attinasi → dcone
Target Milestone: --- → Future
This did not get fixed by the fix to bug 37685. I thought maybee it would.
I confirm it with another website. The text in polish is even worse. Or non ISO-8859-1 characters are completely misaligned (big space added afterwards). For latin characters strange letter spacing still happens like in first example above. This is indeed problematic for mostly all newspaper texts printed as newspapers often use justification. I will add a ps and pdf. http://www.tygodnik.com.pl/numer/tp/chwin.html
I am getting the misalignment on the _display_, too. This looks more an issue in layout/ than in the gfx/-code (e.g. PS/GTK+ ...) ...
bstell/rbs: Wanna take a look at this issue, please (see comment #13) ?
I give you my screenshot (RH7.2+Gnome+ID:2002030721) For me the screen alignment is perfect. Actually this was the reason I switched to mozilla several moths ago - it gave me text rendering quality under Linux which is close to IE quality. Also for pages in non 8859-1 charset. It works well also for cyrililc etc. The things only get spoiled when I print. May it be that this is a problem with your xserver serving fonts? Or just a font configuration in mozilla? Perhaps screen and printer are two different problems. This seems to be very complex for someone who does not know the internals.
Comment on attachment 74058 [details] Screenshot of http://www.tygodnik.com.pl/numer/tp/chwin.html (2002-03-11-08-trunk GTK+ build) Two workarounds: - For GTK+X/lib: Add -- snip -- user_pref("font.x11.rejectfontpattern", "fname=.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevi ce=.*"); -- snip -- to your prefs.js - For Xprint remove /usr/openwin/lib/X11/fonts/misc/ from Xprt's font path Conclusion based on both workaround: There is a bad font in X11/fonts/misc/ which causes this issue...
would be nice at least to know which font is bad. I have mixed feelings about removing the whole directory from configs
Roland: I'm sorry but I have very limited time and I'm focusing on Linux TrueType printing, bug 90385. Perhaps Frank or Shanjian can help.
Mass-resolving some bugs related to the old Linux/Unix printing code. The old code has been removed from the tree, and the bugs are all FIXED by the new cairo-based printing system.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: