Closed Bug 81176 Opened 23 years ago Closed 23 years ago

Font size insanely large, again

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: joha, Assigned: karnaze)

Details

Attachments

(2 files)

This is not a duplicate of 76848 because I'm on linux, or of 76826 because this does not affect all sites. Today I came across this bug browsing http://www.perl.com/pub/2001/05/08/exegesis2.html I'll attach a screenshot or two. Running on linux build id 2001051521, from mozilla-i686-pc-linux-gnu-sea.tar.gz. Ximian Gnome 1.4 -- Johannes (btw. Is the cursor supposed to wrap from the end of text to the beginning of a text in a text box? Guess not, another bug...)
Attached image font size at 100% (deleted) —
Attached image font size at 50 % (deleted) —
2001051520 works correctly on W2K (not as the last similar bug)
yep, build #2001051604 on win2k works fine jake
worksforme, linux debug build from early on 2001-05-16, XFree 4.0.1
WFM Current CVS, XFree86 4.0.3 running xfs, KDE 2.1.1, RH7.1 Which font-server/servers are you running, if any?
I'm running xfs: [joha@sojouner joha]$ rpm -qa | grep xfs Xfree86-xfs-4.0.1-1 My font settings in mozilla are: Serif: monotype-times new roman-iso8859-1 Size 16 Sans serif: monotype-arial-iso8859-1 Default type serif Monospace: monotype-courier new-iso8859-1 Size 13 Screen resolution: 999 dpi
Hehe.. why screen resolution 999? That is asking for trouble. Set it to 96 - that should cure your problems. Do you have any idea how it got set to 999?
OK, it was the screen resolution. I set it to 96 and all was fine again. I think the value 999 was a left over from many weeks/months ago when fonts on mozilla were particularly ugly and this cured the probelm. Also, mozilla crashes everytime I change the setting and click on apply. I tested the setting on NT 4 with build 2001051420, and it didn't behave the same way. It seemed not to make difference at all. Any idea why this setting makes difference only on some pages, not all?
Some fonts are hardcoded in mozilla, and many pages set the size explicitly via CSS. The bug will appear when nothing is set and only your defaults are pulled, i guess. There was an old bug I thought might have resurfaced, where resolution value suddenly jumped to 9999 or thereabouts. Good thing that is still fixed :) Resolving as WFM as per reporters comment.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
ahh one more thing: Sounds like NT version asks the OS for resolution. Which is a sensible thing to do. Font-sizes on Linux can be puzzling at times. I do NOT know why mozilla doesn't simply ask the OS, or rather X, for the default resolution - it's readily available there too. I find that "resolution" option in mozilla to cause more misery than actual good - and in my own unqualified opinion it ought to be removed all together.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: