Closed
Bug 87055
Opened 24 years ago
Closed 24 years ago
fonts look terrible in newer mozilla builds
Categories
(Core :: Layout, defect)
Tracking
()
mozilla0.9.4
People
(Reporter: grigorig, Assigned: bstell)
References
()
Details
(4 keywords)
Attachments
(27 files)
|
10.83 KB,
image/gif
|
Details | |
|
27.19 KB,
image/png
|
Details | |
|
629 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.52 KB,
text/plain
|
Details | |
|
717 bytes,
patch
|
Details | Diff | Splinter Review | |
|
4.59 KB,
text/html
|
Details | |
|
7.54 KB,
image/gif
|
Details | |
|
55.41 KB,
image/png
|
Details | |
|
14.27 KB,
image/gif
|
Details | |
|
35.92 KB,
text/plain
|
Details | |
|
12.74 KB,
image/png
|
Details | |
|
12.74 KB,
image/png
|
Details | |
|
2.38 KB,
image/png
|
Details | |
|
9.42 KB,
image/jpeg
|
Details | |
|
12.39 KB,
image/jpeg
|
Details | |
|
9.42 KB,
image/png
|
Details | |
|
23.19 KB,
image/png
|
Details | |
|
23.92 KB,
image/png
|
Details | |
|
8.54 KB,
text/plain
|
Details | |
|
1.58 KB,
text/plain
|
Details | |
|
21.09 KB,
image/png
|
Details | |
|
816 bytes,
text/plain
|
Details | |
|
20.87 KB,
image/png
|
Details | |
|
4.37 KB,
image/png
|
Details | |
|
12.64 KB,
text/plain
|
Details | |
|
1.54 KB,
patch
|
Details | Diff | Splinter Review | |
|
50.07 KB,
image/jpeg
|
Details |
some days ago there was something changed in the font handling of mozilla.
now the fonts look really terrible on most sites.(try www.mozilla.org)
changing the standard fontsize to 14 helps, but bigger fonts doesn't look very good.
the solution is, I think
1. setting the standard fontsize(e.g. for new profiles) to 14
2. doing something that bigger fonts look better
this problem could be linux or X-only.
when I set standard font size to 15 all seems to look perfect.
so forget about this 'big fonts are ugly'
so my suggestion now would be to set this standard fontsize to 15..
confirming, just pulled and built the tree, seems like default font size in
linux has changed. switch to 90% font size (view->text size menu) helps a lot -
everything looks like it was before change.
Comment 3•24 years ago
|
||
Marking NEW. Build 2001061914 was ok, but starting with Build 2001062008 things
were ugly (all on Linux).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•24 years ago
|
||
OK, I'm seeing this, or at least, sort of.
Basically, before whatever changed, the default size for proportional fonts was
16pt. Bloody huge. No idea why. On every new profile I had to change it to 12pt,
which is much more reasonable.
Now, today I saw that fixed-width fonts looked terrible. In fact as terrible as
they look in Opera 5 (linux). All other fonts appear normal. Entering the fonts
preference panel I saw that monospace fonts were set to 13pt; quite why such an
off size I have no idea, but the important bit is that I changed it to 12pt,
reloaded this bugzilla page, and now the monospace fonts in bugzilla look as
they did.
I'm sending this to preferences, since I think something was checked in to
change or add a font size pref and we're all seeing the size as bad rendering;
perhaps they can set a more sensible size such as 12pt.
Component: Browser-General → Preferences
Comment 5•24 years ago
|
||
bah, this time reassign.
Comment 7•24 years ago
|
||
->layout? or, style system? i don't think this is a prefs problem, per se... i
don't think i see this on mac or win32 --but do others?
marc, do punt as needed.
Assignee: sgehani → attinasi
Component: Preferences → Layout
QA Contact: sairuh → petersen
Updated•24 years ago
|
Whiteboard: critical for 0.9.2
Comment 8•24 years ago
|
||
Could this be the changes to unix.js that bstell made on the 19th? I see a block
in there that sets some sizes, and I don't understand the changes so CC'ing.
I'll try reverting that file, but I'm still building latest Linux.
Ok, adding lots of keywords. "Oh boy, the milestone is about to close... Gotta
get my patch in... Haven't tested on Linux yet. Ohhh, nobody uses Linux, I'll
just check in." *Grrr*.
Haven't gotten a chance to test backouts yet, but I think the fixes to either
74889 or 83658 are likely to have caused this.
Severity: normal → critical
Comment 10•24 years ago
|
||
It's the patch from bug 74889.
The test at line 2971 in nsFontMetricsGTK.cpp is incorrect. It assumes
that a non-zero point_size or pixel_size implies a non-scaled bitmap
font. Not true for XFree86. See bug 34242 for what happens if you ask X
the wrong question.
You might want to look at bug 46415 where I propose a different test
method.
Comment 11•24 years ago
|
||
Forget that last bit. I was wrong.
Comment 12•24 years ago
|
||
Comment 13•24 years ago
|
||
OK - assigning to bstell - anyway I look at it, he is better able to tend to
this than I am
Assignee: attinasi → bstell
| Assignee | ||
Comment 14•24 years ago
|
||
this is a linux only issue.
this is related to the checkin for bug 74889
there have been a series of bugs complaining that we pick
fonts and glyphs that are much too large or much too small.
I provided per-language font scaling controls with different
settings for outline scaled and bitmap scaled fonts.
I set the controls fairly agressively to try and use the correct
size when possible rather than the previous values which used
a bitmap font if it was within 80% to 180% (almost 2x) of the
desired size.
people may want to try setting the controls in unix.js:
http://lxr.mozilla.org/seamonkey/source/modules/libpref/src/unix/unix.js#143
set the minimum pixel size for an outline font:
pref("font.scale.outline.min", 6);
set the minimum pixel size for an bitmap scaled font:
pref("font.scale.bitmap.min", 12);
choose a bitmap (non-scaled) font instead of a bitmap scaled font if the
bitmap font's size is within these precentages:
pref("font.scale.bitmap.undersize", 90);
pref("font.scale.bitmap.oversize", 110);
Status: NEW → ASSIGNED
| Assignee | ||
Comment 15•24 years ago
|
||
setting these should give the old sloppy behaviour:
in unix.js change
pref("font.scale.bitmap.undersize", 90);
pref("font.scale.bitmap.oversize", 110);
to
pref("font.scale.bitmap.undersize", 80);
pref("font.scale.bitmap.oversize", 180);
| Reporter | ||
Comment 16•24 years ago
|
||
works perfectly for me!
what about checking in this?
Comment 17•24 years ago
|
||
I've seen this on my laptop which doesn't have the nice fonts that I have on my
desktop installed. My laptop is probably more representitive of what people
have installed on their system. I'd rather have the slop installed back in by
default and have the fonts off sized rather than looking as bad as they do. At
least they are readable if they are a little off sized.
Fonts suck on unix. We can't make everyone happy all of the time. At least we
have the ability to change the behaviour now.
Comment 18•24 years ago
|
||
Please please change it back to how it was !! Mozilla looks awful with the new
fonts !!
Comment 19•24 years ago
|
||
going to put this on the 0.9.2 radar until we figure out what to do.
Target Milestone: --- → mozilla0.9.2
Comment 20•24 years ago
|
||
calm down. when bstell check in that code, he build in a lot of risk management
mechanism with in that code. So now the only thing we need to tune is some good
value in unix.js without touching cpp file.
The root of the problem is Unix bitmap font scaler suck and TrueType is not
popular enough yet.
bstell did perform a lot of testing before he check the code in. However, since
everyone one may have different font installeration, we may not see exactly what
other people see.
Let's calm down and work together to propose a good value in the unix.js. I will
ask bstell on IRC today and next week.
Comment 21•24 years ago
|
||
Given how close we are to the milestone, and since this shows up everywhere
(browser, mail, im, etc.) I'd suggest simply reverting unix.js's values back to
80/180 as soon as possible... Maybe we can come up with some good tweaks. I'll
play with the values and see if I can find a good pair.
Comment 22•24 years ago
|
||
Is the problem font.scale.bitmap.undersize or font.scale.bitmap.oversize ?
Comment 23•24 years ago
|
||
Seems like both, to some extent. I'm trying with undersize=80 (the old value)
and oversize=110 (the new value), and normal serif type looks fine, but
typewriter still looks broken. I'll keep playing with the values...
Comment 24•24 years ago
|
||
Oops, the problem with my monospace font was that it was set to 13pts in prefs.
Setting it to 12pt (where it doesn't have to scale) fixes things for me. I think
values of 80/110 should be fine. Patch coming :)
Comment 25•24 years ago
|
||
Comment 26•24 years ago
|
||
FYI, Japanese, Chinese, and Korean pages all look fine like this. A good
testcase for multiple languages is http://www.debian.org (see the bottom of the
page for translations).
| Assignee | ||
Comment 27•24 years ago
|
||
we may well decide to go back to the old sloppy setting.
But before we throw up ours hands and give up
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
WE SHOULD AT LEAST LOOK TO SEE IF THERE IS A BETTER RANGE
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
if there isn't a better value then lets go back to the old sloppy values
Comment 28•24 years ago
|
||
bstell: huh? isn't 80-110 a better range than 80-180? see my patch...
| Assignee | ||
Comment 29•24 years ago
|
||
Dan: yes 80-110 should produce more accurate sizes.
Different people will prefer different choices. Lets get a collection of
input then try to pick the best overal choice (leaning of course toward the
naive user as the experienced users can tweak this to their hearts content).
| Assignee | ||
Comment 30•24 years ago
|
||
to see which fonts are selected set the environment variable NS_FONT_DEBUG to 9
Comment 31•24 years ago
|
||
both bstell and my system cannot reproduce the problem in mozilla.org and
news.wideopen.com . We see some other font quality issue but that have nothing
to do with this bug because that problem can also be reproduced by 061914 build
which before bstell land his change.
Let bsteall and me walk to Dan Rosen's cube to find out details.
Comment 32•24 years ago
|
||
Comment 33•24 years ago
|
||
After walk to dan's cube, we are now understand the issue better.
In my system, I include both 75dpi and 100dpi in the font path (xset -q show
unix/-1 and that include all the fonts dir under /usr/X11R6/lib/X11/fonts )
and for courier/helvetica/times, I have the following size of bitmap fonts:
8,10,11,12,14,17,18,20,24,25,34
and in dan's system, he do not include 100dpi in his font path (he explicit set
75dpi in his xset fp) and he miss
11,17,20,25,34
these size are from the 100dpi directory.
Comment 34•24 years ago
|
||
So we figured out that one reason I'm seeing this is my utter lack of fonts. It
seems RedHat's default config (unless I tweaked it without remembering) doesn't
include 100dpi fonts (RPM name: XFree86-100dpi-fonts).
I've attached the output from xlsfonts with and without 100dpi fonts installed.
You can see that with 100dpi fonts installed, I have a 17-point Times font. My
font size pref is 16-point Times, and 17-point is within 110% of 16 (the bounds
would be 14.4 to 17.6), so we use that font without scaling. Without 100dpi
fonts, the closest choices I appear to have are 14 and 18 point, neither of
which are in the 90%-110% range, so we have to scale, hence the ugliness.
It seems like the best thing to do would be to determine what fonts we get by
default on the popular linux distributions and find the lowest common
denominator... But ummm, back in the real world, I wouldn't know what to do
given the time constraints.
Comment 35•24 years ago
|
||
Note: I still do see some ugliness, even with 100dpi fonts installed. With my
default font size set to 14 instead of 16, normal text looks good, but headers
show up chunky (see the top of tinderbox, for example: <font size="+3"><b>,
which I think is the equivalent of <h1> in our UA stylesheet). It'd be nice to
get as many sizes of the default font as possible looking good...
| Assignee | ||
Comment 36•24 years ago
|
||
Comment 37•24 years ago
|
||
r=dr. 20% should be a reasonable margin of error imho.
| Assignee | ||
Comment 38•24 years ago
|
||
Updated•24 years ago
|
Whiteboard: critical for 0.9.2 → critical for 0.9.2, have patch and r. need sr and a
Comment 39•24 years ago
|
||
r/sr=blizzard
( I hate X fonts. )
| Assignee | ||
Comment 40•24 years ago
|
||
(I 'm working to move moz away from bitmap fonts to server based
outline fonts and client based outline font (aka: render))
Whiteboard: critical for 0.9.2, have patch and r. need sr and a → critical for 0.9.2, have r=dr, sr=blizzard, need a=
Comment 41•24 years ago
|
||
a=tor for 0.9.2 branch and trunk checkin
| Assignee | ||
Comment 42•24 years ago
|
||
checked in trunk and branch
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Whiteboard: critical for 0.9.2, have r=dr, sr=blizzard, need a= → critical for 0.9.2, have r=dr, sr=blizzard, a=tor
Comment 43•24 years ago
|
||
I'm not sure this is fixed yet. Small fonts still look wrong - too small
actually. I'll be attaching an example in a moment.
Comment 44•24 years ago
|
||
Comment 45•24 years ago
|
||
*** Bug 87608 has been marked as a duplicate of this bug. ***
Comment 46•24 years ago
|
||
A little font fix-up how to:
Go into your XF86Config file
Make sure the font section looks like this:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/URW/"
FontPath "/usr/X11R6/lib/X11/fonts/sharefont/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
EndSection
You may have not all fonts listed here. I just have the first line checked in,
with FontPath "unix/:-1" afterwards
The fonts are loaded on a priority basis, the ones on top receiving higher priority
Fix #2:
Go into /usr/lib/X11/xdm/Xservers and put this:
:0 local /usr/X11R6/bin/X -deferglyphs 16 -dpi 100 <other-stuff-here>
Fix #3 (optional) if you are using kde, make sure to have the newest version,
with qt 2.3, and in the control center in the style section, turn on anti-aliasing
This improves mostly X stuff, not mozilla, but people may find this interesting.
Currently i have courier size 16 at monospace, and times at size 18
I saw the ugly fonts on recent builds too. I will try the proposed fixes right now
Comment 47•24 years ago
|
||
I can't say this bug is really fixed. If I have both 75dpi and 100dpi fonts then
whole blocks of sizes come out the same, e.g. 29pt to 40pt are identical for me.
If I make just one of the font sets available then mozilla goes to scaled bitmap
fonts which is no good either. Yes, the "normal" sizes look ok but "title"
sizes, i.e. somewhat larger than normal, look poor.
Comment 48•24 years ago
|
||
XF86Config is not used for full fontpaths on RedHat systems!!
If you want to swap the mentioning of 75/100 dpi fontpaths around on a RH system
(6.* or 7*) instead change it in /etc/X11/fs/config
The difference between 75 and 100 dpi fonts is similar to the "small" and
"normal" fonts on Windows. I run at 1280x1024 on a 17" monitor and personally i
prefer the "small" variant (75dpi fontpaths mentioned first). To avoid that
small fonts get TOO small, i lock small fonts to a minimum size in prefs.js:
user_pref("font.min-size.variable.", 10);
user_pref("font.min-size.variable.x-western", 10);
Note that while most systems come with 75dpi path mentioned first, Debian has
recently changed to mention 100dpi first. What suits the individual is partly
personal taste and partly screensize/resolution. If you run at 1024x768 on a 17"
monitor, 100dpi fonts will appear huge. I generally find them too big for
comfort even at 1280x1024.
Comment 49•24 years ago
|
||
tenthumbs: the native bitmap fonts that are primarily USED on linux (as long as
one exists) are the ones whose fontpath is mentioned *first*, like Francisco
León points out. That's where X will go fishing for a match first.
The reason some look "jagged" is because there are simply to few of them
provided to cover for all sizes. So some "inbetweeners" and large fonts can
happen to come out as smooth as a brick.
In addition most distro's don't provide any fonts.alias to help the user out.
(At least they didn't use to.) Mozilla goes a long way to cover for this
phenomena, but if you want to tune X fonts for perfection, that is traditionally
done "by hand". You can for instance "cross-alias" so you call 100dpi fonts at
those larger sizes, even if you normally use 75dpi. Better yet: Use truetype
fonts. Some stuff (under revision) on how to do it all:
http://home.c2i.net/dark/linux.html#ttf
http://home.c2i.net/dark/linux.html#fuzzy
Comment 50•24 years ago
|
||
New unix.js settings don't fix the ugly fonts for me, because my regular fonts
have always worked fine. The only font that was affected in the new builds to my
eyes is the monospace font (adobe-courier)
It does not look that bad but it could look better. Attaching screenshot of this
window.
Take a special look in how the hyphen --- is drawed. Other letters like d and b
also look strange.
The hyphen is drawed "ok" but it was a lot bigger on earlier builds
Comment 51•24 years ago
|
||
Comment 52•24 years ago
|
||
Comment 53•24 years ago
|
||
tenthumbs@cybernex.net 2001-06-25 09:46 :
>I can't say this bug is really fixed. If I have both 75dpi and 100dpi fonts
then
>whole blocks of sizes come out the same, e.g. 29pt to 40pt are identical for
me.
Sure, because even you have 100dpi, you still only have one more bitmap font >
20px. So what mozilla can do is either use that font unscaled (so you see 29pt
to 40pt as the same size) or scaled that to different size with ugly looks. The
ugly bitmap font scaler is not implemented INSIDE mozilla but the X servers
which have been ship more than 8 years. There are no fix for that unless you
have 1) true type font, or 2) a better bitmap font scaler in your x server.
>If I make just one of the font sets available then mozilla goes to scaled
bitmap
>fonts which is no good either. Yes, the "normal" sizes look ok but "title"
>sizes, i.e. somewhat larger than normal, look poor.
Compare to the 6/18 builds before bstell land the bitmap scaler code, does that
make any difference ? If no, that mean that fix does not contribute any positive
neither negative impact to that.
Francisco Leo'n 2001-06-25 10:27:
>The only font that was affected in the new builds to my eyes is the monospace
>font (adobe-courier)
What you show is exactly what adobe-courier should look like in 16 pt.
If you don't like how to '-' look, file bug against adobe about the glyph in the
courier font. But remember this type face have been used on the X windows
for more than 10 years already.
| Assignee | ||
Comment 54•24 years ago
|
||
(Note: the text in the "Additional Comments:" text field in attachment 39938 [details]
does not show up when displayed on Linux)
Francisco: I cannot get my system to make the particular 'd' and 'b' glyphs
shown in your attachment. I'd like to see what fonts are being loaded so
would you set NS_FONT_DEBUG=11, run moz as follows, and attach
the output to this bug report?
./mozilla http://bugzilla.mozilla.org/show_bug.cgi?id=87055
thanks
| Assignee | ||
Comment 55•24 years ago
|
||
oops, I meant "displayed on Windows" instead of "displayed on Linux"
| Assignee | ||
Comment 56•24 years ago
|
||
Miloslaw: It looks to me like the side bar is asking for an 8 pixel font.
<head>
<meta HTTP-EQUIV="Refresh" CONTENT="300">
<style>
body, td {
font-family: Verdana, Sans-Serif;
font-size: 8pt;
}
</style>
</head>
<body BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
<a target='_content'
href='http://tinderbox.mozilla.org/SeaMonkey-Ports/'>SeaMonkey-Ports is open,
6/25 15:01</a><br><table border=0 cellpadding=1 cellspacing ...
and the code is supplying an 8 pixel font:
outline font:______ -ult1mo-verdana-medium-r-normal--%d-*-0-0-p-*-iso8859-2
desired=8, scaled=8, bitmap=0, nsFontMetricsGTK.cpp 2404
scaled font:_______ ult1mo-verdana-iso8859-2
desired=8, scaled=8, bitmap=1000000000,
aStretch->mOutlineScaled=1
xlfd =
-ult1mo-verdana-medium-r-normal--8-*-0-0-p-*-iso8859-2
, nsFontMetricsGTK.cpp 2464
loaded -ult1mo-verdana-medium-r-normal--8-*-0-0-p-*-iso8859-2
Comment 57•24 years ago
|
||
Comment 58•24 years ago
|
||
Font list on XFree 4.0.3, mandrake 8, kde 2.1.1 with antialiasing and qt 2.3,
and using the mozilla-fonts package that comes with mandrake 8, and contains
lots of fonts in the dirs:
/usr/X11R6/lib/X11/fonts/mozilla-fonts
Comment 59•24 years ago
|
||
Why would the text in attachment 39938 [details] not show up in windows? It's an image
Am i on painkillers? :)
| Assignee | ||
Comment 60•24 years ago
|
||
> ---- Additional Comments From tenthumbs@cybernex.net 2001-06-25 09:46 ----
> ... whole blocks of sizes come out the same, e.g. 29pt to 40pt are identical
> for me.
That's is the way the code has been working for a long-long time.
The old code worked like this:
find nearest bitmap (call this 'b')
if (b >= 80% desired size) or (b <= 180% desired size)
use bitmap (non-scaled)
else
scale
(Note: bitmap scaled fonts were not distinguished from outline scaled fonts)
So a 34px font *could* be used from 18px to 42px. You probably did see the
34px font below 29 because your system has fonts in the 20-30 range.
The new code works like this:
find nearest bitmap (call this 'b')
if (b == desired size)
use bitmap (non-scaled)
else if (have outline scaled font) and (b != desired)
use outline scaled font
else if (b >= undersize_pref% desired size) or (b <= oversize_pref% desired
size)
use bitmap (non-scaled)
else
use bitmap scaled (ugly)
| Assignee | ||
Comment 61•24 years ago
|
||
(its a NS 4.7x PNG bug)
Francisco: could you attach a screen shot of this:
xfd -fn -adobe-courier-medium-r-normal--16-*-0-0-m-*-iso8859-1 &
| Assignee | ||
Comment 62•24 years ago
|
||
oops, got the logic wrong:
(should have been "if (b >= 80% desired size) && (b <= 180% desired size)"
instead of "if (b >= 80% desired size) or (b <= 180% desired size)"
(corrected) old logic:
find nearest bitmap (call this 'b')
if (b >= 80% desired size) && (b <= 180% desired size)
use bitmap (non-scaled)
else
scale
(corrected) new logic:
find nearest bitmap (call this 'b')
if (b == desired size)
use bitmap (non-scaled)
else if (have outline scaled font) and (b != desired)
use outline scaled font
else if (b >= undersize_pref% desired size) or (b <= oversize_pref% desired
size)
use bitmap (non-scaled)
else
use bitmap scaled (ugly)
| Assignee | ||
Comment 63•24 years ago
|
||
(dang, hit the submit too soon)
(corrected-corrected) new logic:
find nearest bitmap (call this 'b')
if (b == desired size)
use bitmap (non-scaled)
else if (have outline scaled font) and (b != desired)
use outline scaled font
else if (b >= undersize_pref% desired size) && (b <= oversize_pref% desired
size)
use bitmap (non-scaled)
else
use bitmap scaled (ugly)
Comment 64•24 years ago
|
||
Comment 65•24 years ago
|
||
Comment 66•24 years ago
|
||
Darn bugzilla buzzed the attachment. Sorry about that
Am i just complaining too much? It looks somewhat ok but the "b" letter still
looks "recharged" in its left side
Comment 67•24 years ago
|
||
xfd has nothing to do with Mozilla - it just an X font-display applet.
Comment 68•24 years ago
|
||
He may have wanted to know if mozilla was loading the font in a bad way so he
wanted to see how X would draw it by itself, i dont know :P
Comment 69•24 years ago
|
||
Oh.. i thought *you* had misunderstood something, since it sounds like you
expect mozilla to improve on fonts that look bad to begin with.
| Assignee | ||
Comment 70•24 years ago
|
||
| Assignee | ||
Comment 71•24 years ago
|
||
The b and d are from your adobe-courier 16px font
Isn't that what is supposed to happen?
Comment 72•24 years ago
|
||
dark: no, i expect xfree to improve those ugly fonts :)
brian: i dont know, i guess the only way for me to know is to get an older fuild
and do a screenshot from it
I have also noticed some more bugs in font rendering but these have been present
always. Sometimes the fonts looks jagged and when you hightlight them with the
mouse the jaggies get fixed. Has someone noticed this? Has a bug been filed
already? If not tell me to get some screens right away
Also when writing mails (they get written with the courier font) sometimes when
highlighting some lines of text and combining scrolling and deleting blocks of
them, the text "dissapears" or appears cut in half until you highlight them again.
Please tell me if both of these bugs have reported already and if they are
really the same bug (to file only 1 if this is the case)
Comment 73•24 years ago
|
||
This is the "second bug" i am talking about
Attaching 2 screenshots
The first one shows a jagged first line, with some dirt below some words. The
window gets messy. Look at that straight line above the yahoo text! Not even a
drunk would see that line straight
Now look at the second one. The straight line is fixed, the dirt in the middle
(above "gracias") is cleaned
Look at the first line. Words that contain a p and a g show up complete and
nice, without broken sections
Comment 74•24 years ago
|
||
Comment 75•24 years ago
|
||
Comment 76•24 years ago
|
||
Francisco: Please file a new bug on the issue you're describing. Thanks.
Comment 77•24 years ago
|
||
bug 87738 was filed due to font breaking
Comment 78•24 years ago
|
||
I did a special test. I installed 0.9.1 on /usr/local/mozilla91
Came here and saw my typing and other text. It looks great!
Exited and came back here with may 23's build. Looks ugly
However i cant make a screenshot of this. Anytime i do this both images get
a little screwed, maybe due to compression. unix.js file is very different
in both builds
So i copied the 0.9.1 unix.js on top of the new one and came back here (right
now) and guess what: it still looks ugly
So, to me, the new unix.js patch below does _not_ fix the problem
Please consider reopening this
| Assignee | ||
Comment 79•24 years ago
|
||
Francisco: the previous unix.js will not help as it does not have the any
of the new prefs. As mentioned earlier in this bug report you can
get the old bitmap scaling thresholds by changing:
pref("font.scale.bitmap.undersize", 90);
pref("font.scale.bitmap.oversize", 110);
to
pref("font.scale.bitmap.undersize", 80);
pref("font.scale.bitmap.oversize", 180);
in unix.js.
To say something is "ugly" is not specific enough for me to be able to work
on. There is no way for me to proceed. Hence, screen captures are very
important.
The screen capture attachments 40015/40015 look like a layout problem, not a
font problem. However, if you put the url in this bug I will see if I can
duplicate the same behavior on my system.
Comment 80•24 years ago
|
||
Brian: Like i said , 0.9.1 looks perfect, like dark's attachment on bug 87738
and 0.9.1+ looks jagged. As you could see in xmag in my attachments, letters are
not all at the same level, with ugly letters v, b, etc.
So i wanted to attach you a 0.9.1 and a 0.9.1+ of the same text, but gimp screws
up the image quality on them. Any recommendation of what format to use to make
WYSIWYG screens?
Comment 81•24 years ago
|
||
Yes! I was able to get 2 nice shots. The first one is how 0.9.1 looks in courier
font (perfect) and the second one shows how 0.9.1+ looks (even with the new
unix.js file!)
This should suffice to say the bug does not look fixed to me. Without touching
anything but the unix.js file in 0.9.1+ to try and get good results, this is was
it get. Screenshots following
Comment 82•24 years ago
|
||
Comment 83•24 years ago
|
||
Comment 84•24 years ago
|
||
Please discard attachment 40085 [details]
Another one coming up
Comment 85•24 years ago
|
||
Comment 86•24 years ago
|
||
Ok that's it. Look at the hyphens --- to compare how ugly the new one looks to
the old one. Look at the b, the ", in fact, all letters!
What did happen with that font?
| Assignee | ||
Comment 87•24 years ago
|
||
Probably the page asked for a adobe-courier 16px font and the code now gives
a outline scaled adobe-courier 16px font instead of a adobe-courier 17px bitmap
font.
Please run wiht NS_FONT_DEBUG=9 and attach the output
eg:
$ setenv NS_FONT_DEBUG 9
$ ./mozilla http://bugzilla.mozilla.org/show_bug.cgi?id=87055 2>&1 | tee moz.out
If you want to disable outline/bitmap scaled fonts over bitmap fonts set
"font.scale.outline.min" and "font.scale.bitmap.min" to some high number like
43:
eg: in
http://lxr.mozilla.org/seamonkey/source/modules/libpref/src/unix/unix.js#144
pref("font.scale.outline.min", 43);
pref("font.scale.bitmap.min", 43);
and live with wrong sized but better looking glyphs.
Comment 88•24 years ago
|
||
Comment 89•24 years ago
|
||
Comment 90•24 years ago
|
||
I included an extra attachment of same debug output of 0.9.1 so you could see
the difference between the 2. I think you were right. New build is putting 16
size font first and old build is getting 17 loaded up first.
So, what's the conclusion? I must also say that the commit button looks jagged
in 0.9.1 too, until i click it, as i exposed in attachment 40082 [details]
| Assignee | ||
Comment 91•24 years ago
|
||
> So, what's the conclusion?
When a correctly sized bitmap is available we use it and it looks as
good (or bad) as before.
When a correctly sized bitmap is not available we have a choice:
1) wrong sized (but better looking) bitmap
2) right sized (but so-so looking) outline scaled bitmap
I would really like to see the X world using better font technology.
Users that care can:
1) set the "font.scale.outline.min" to effectively disable outline scaling
2) add better outline fonts
3) add more bitmap sizes.
Thus, right now I am leaning toward right sized outline scaled fonts as this
will encourage the transition to better fonts.
Comment 92•24 years ago
|
||
pref("font.scale.outline.min", 43);
pref("font.scale.bitmap.min", 43);
this fixes THIS problem, but creates a new one:
whenever i see "bug xxxxx", it shows up on size 43
so this fix is no good for me
Why, why can't we get the fonts looking like 0.9.1? Why the change?
| Assignee | ||
Comment 93•24 years ago
|
||
Is your question:
"Why use the requested size font instead of some nearby size?"
Comment 94•24 years ago
|
||
In response to Brian Stell 2001-06-25 15:17:
Yes, the sidebar may be asking for size 8 font, but why does it render it so
poorly? I am attaching a screenshot of how gfontsel renders
-microsoft-verdana-medium-r-normal-*-8-*-*-*-p-*-iso8859-2
It definitely looks much better - and actually is identical to mozilla 0.9.1
rendering of this font.
Comment 95•24 years ago
|
||
| Assignee | ||
Comment 96•24 years ago
|
||
Could you add an attachment (screen capture and moz.out with NS_FONT_DEBUG=9)
for this:
> whenever i see "bug xxxxx", it shows up on size 43
| Assignee | ||
Comment 97•24 years ago
|
||
Miloslaw: Probably the microsoft font is nicer looking than the ult1mo font
-ult1mo-verdana-medium-r-normal--8-*-0-0-p-*-iso8859-2
-microsoft-verdana-medium-r-normal-*-8-*-*-*-p-*-iso8859-2
Right now we do not have a way to specify one foundry over another.
(Can that be done in the CSS?)
Could you try ordering your font path to put the microsoft font earlier
in the font patch?
Comment 98•24 years ago
|
||
Never mind. I had:
pref("font.scale.bitmap.oversize", 120); instead of 180 ( i just updated to
today's build)
I put back the line with the 43 and the font looks good again, and "bug xxxxx"
looks fine
This fixes my problem.
Commit button still looks jagged, but as you know this has been marked as a new bug
Comment 99•24 years ago
|
||
Brian,
The only *-verdana-* I have here is the Microsoft one. It is shown correctly (at
size 8) by gfonsel and incorrectly by mozilla from these newer builds. Exactly
the same font is looking ok in 0.9.1
Comment 100•24 years ago
|
||
That would mean fonts are getting loaded wrong by mozilla?
That's what i have been experimenting all this time.
You should try the unix.js fixes described by brian (the 43 size thing)
that should fix it
| Assignee | ||
Comment 101•24 years ago
|
||
> You should try the unix.js fixes described by brian (the 43 size thing)
> that should fix it
Setting the scaling min to 43 effectively *disables* scaling which is *not* the
same as fixing it.
Miloslaw: what is your "Display Resolution" set to?
(Edit->Preferences->Fonts)
Could you set the environment variable NS_FONT_DEBUG=9, capture moz's output
when displaying this page, and attach it to this bug report?
thanks
Comment 102•24 years ago
|
||
Comment 103•24 years ago
|
||
First, the "43" trick did not help here.
My "Display Resolution" is set to "system setting" (75dpi), but I've also played
with setting it to other values. Above 75 DPI bigger fonts kick in and sidebar
problem is fixed (sizes are like in 0.9.1), but then menu font is too big.
Another hint: when using gfontsel and selecting verdana-8, font information box
looks like follows:
Requested Font Name:
-microsoft-verdana-medium-r-normal-*-8-*-*-*-p-*-iso8859-2
Actual Font Name:
-microsoft-verdana-medium-r-normal--9-90-72-72-p-46-iso8859-2
| Assignee | ||
Comment 104•24 years ago
|
||
can we get an image of:
xfd -fn -microsoft-verdana-medium-r-normal--8-*-0-0-p-*-iso8859-2
| Assignee | ||
Comment 105•24 years ago
|
||
What does this mean:
> Requested Font Name:
> -microsoft-verdana-medium-r-normal-*-8-*-*-*-p-*-iso8859-2
>
> Actual Font Name:
> -microsoft-verdana-medium-r-normal--9-90-72-72-p-46-iso8859-2
Comment 106•24 years ago
|
||
Comment 107•24 years ago
|
||
Brian, I don't know much about X way of handling fonts. I can only suspect that
"Requested Font Name:" is something that the app asked for and "Actual Font
Name:" is something it was handed.
But this is as good as anyone's guess.
Comment 108•24 years ago
|
||
Based on the comments provided, marking verified
Status: RESOLVED → VERIFIED
Comment 109•24 years ago
|
||
Brian: with the "43" workaround, i get big fonts on this page:
http://getright.com/beta45.html
scroll down until you see [url1]
Comment 110•24 years ago
|
||
also when someone types an unix dir in my mail (/home/something) font looks
extra big
| Assignee | ||
Comment 111•24 years ago
|
||
Francisco: please attach moz output with NS_FONT_DEBUG=9
Comment 112•24 years ago
|
||
Comment 113•24 years ago
|
||
Comment 114•24 years ago
|
||
I can't reproduce the /home/dir big text
| Assignee | ||
Comment 115•24 years ago
|
||
Comment 116•24 years ago
|
||
*** Bug 90034 has been marked as a duplicate of this bug. ***
Comment 117•24 years ago
|
||
*** Bug 93379 has been marked as a duplicate of this bug. ***
Comment 118•24 years ago
|
||
Sorry, but can someone please do a quick sum up of what the fix is for this?
Pages look TERRIBLE now - I just upgraded from 0.9.1 to 0.9.3, and I'm forced to
stay with 0.9.1 until I know how to fix it.
I also think this issue should be stated in the release notes...
Comment 119•24 years ago
|
||
Comment 120•24 years ago
|
||
Based on the comments here (and a new patch from the patch author being added,
and recent dup's from 0.9.3, reopening. At the very least this is quite
confusing, and the controls are not user-visible. The result is that user
reaction is "Mozilla looks horrible in X!" out of the box, and they can't figure
out how to fix it.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 121•24 years ago
|
||
Morten: would you try the following change:
In unix.js change
pref("font.scale.bitmap.min", 12);
to
pref("font.scale.bitmap.min", 16);
Status: REOPENED → ASSIGNED
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.4
Comment 122•24 years ago
|
||
The only way i can get my fonts to look like 0.9.1 did is:
pref("font.scale.outline.min", 43);
pref("font.scale.bitmap.min", 43);
pref("font.scale.bitmap.undersize", 80);
pref("font.scale.bitmap.oversize", 180);
However, that breaks some webpages and some mails that come on my inbox with the
text /home/something in it
Now this would be a lot harder to fix
I still dont understand why the code was changed and the changes not reversed
when this regression appeared. It KILLS the monospace font. We have enough
problems on linux in fonts to resolve this one
| Assignee | ||
Comment 123•24 years ago
|
||
I believe there is more than one issue reported in this bug and I want to
address those without all the existing clutter in this bug report.
I believe that the issue seen in attachment 44589 [details] is bitmap scaling.
I opened bug http://bugzilla.mozilla.org/show_bug.cgi?id=95184 to address this.
I believe the issue raised by Francisco León is outline scaling.
I opened bug http://bugzilla.mozilla.org/show_bug.cgi?id=95183 to address this.
Please follow the discussion in those bugs.
*** This bug has been marked as a duplicate of 95184 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
Whiteboard: critical for 0.9.2, have r=dr, sr=blizzard, a=tor
You need to log in
before you can comment on or make changes to this bug.
Description
•