Bug 74460 - Font sizes wrong specially in Konqueror
Summary: Font sizes wrong specially in Konqueror
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-07 14:03 UTC by Avi Alkalay
Modified: 2004-03-25 09:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Konqueror X Mozilla comparation (141.03 KB, image/png)
2004-02-07 14:09 UTC, Avi Alkalay
Details
FC_DEBUG=1 konqueror http://bugs.kde.org/show_bug.cgi?id=74460 (116.65 KB, image/png)
2004-02-07 14:12 UTC, Avi Alkalay
Details
FC_DEBUG=1 konqueror http://bugs.kde.org/show_bug.cgi?id=74460 output (8.00 KB, text/plain)
2004-02-07 14:15 UTC, Avi Alkalay
Details
My Konq font settings (47.91 KB, image/png)
2004-02-07 14:17 UTC, Avi Alkalay
Details
bugs.kde.org (120.56 KB, image/png)
2004-02-07 14:20 UTC, Avi Alkalay
Details
Konqueror X Mozilla comparation without stylesheets (173.24 KB, image/png)
2004-02-07 14:22 UTC, Avi Alkalay
Details
My Mozilla settings (46.86 KB, image/png)
2004-02-07 14:25 UTC, Avi Alkalay
Details
Kate with Bitstream Vera Sans 8pt (47.47 KB, image/png)
2004-02-07 14:30 UTC, Avi Alkalay
Details
Not exactly related: kate font list appear to be strange (47.94 KB, image/png)
2004-02-07 14:38 UTC, Avi Alkalay
Details
Font height are wrongly calculated (71.82 KB, image/png)
2004-02-07 15:02 UTC, Avi Alkalay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Avi Alkalay 2004-02-07 14:03:52 UTC
Version:           3.1.95 (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
Compiler:           kde-redhat.sf.net RPMs
OS:          Linux

$ rpm -q qt freetype kdebase kdelibs
qt-3.2.3-0.fdr.8.1
freetype-2.1.4-5.ttbci
kdebase-3.1.95-0.fdr.0.1
kdelibs-3.1.95-0.fdr.0.1

Only konqueror is not handling font sizes as other KDE apps.
Screen shots comparing Mozilla and Konqueror.
Comment 1 Avi Alkalay 2004-02-07 14:09:02 UTC
Created attachment 4554 [details]
Konqueror X Mozilla comparation

The stylesheet for this page defines precise fonts sizes for each block. 8pt.
8pt in widgets is also buggy, but in a different way (already reported).

http://avi.alkalay.net/linux/docs/HighQuality/HighQuality.html for reference.

Mozilla is using the correct font sizes.
Comment 2 Avi Alkalay 2004-02-07 14:12:43 UTC
Created attachment 4555 [details]
FC_DEBUG=1 konqueror http://bugs.kde.org/show_bug.cgi?id=74460

The monospace fonts are also looking bigger.
Comment 3 Avi Alkalay 2004-02-07 14:15:46 UTC
Created attachment 4556 [details]
FC_DEBUG=1 konqueror http://bugs.kde.org/show_bug.cgi?id=74460 output
Comment 4 Avi Alkalay 2004-02-07 14:17:09 UTC
Created attachment 4557 [details]
My Konq font settings
Comment 5 Avi Alkalay 2004-02-07 14:20:35 UTC
Created attachment 4558 [details]
bugs.kde.org

Look how the text looks squeezed and ugly.
Comment 6 Stephan Kulow 2004-02-07 14:21:37 UTC
you don't happen to have zoomed the text, don't you? Especially your #5 makes me believe that
Comment 7 Avi Alkalay 2004-02-07 14:22:43 UTC
Created attachment 4559 [details]
Konqueror X Mozilla comparation without stylesheets

Another comparation, now with a no-CSS page.
Comment 8 Avi Alkalay 2004-02-07 14:25:25 UTC
Created attachment 4560 [details]
My Mozilla settings

This is my Mozilla settings. Mozilla uses pixels instead of points.

11px == 8pt
Comment 9 Avi Alkalay 2004-02-07 14:26:36 UTC
No zooming.
I selected Default Font Size one hundred times to be sure.
Comment 10 Stephan Kulow 2004-02-07 14:29:44 UTC
I cloned your settings and everything is tiny now.

Beside that: grep 8pt HighQuality.html docbook.css
gives no hit. The font-size for body says 11px here
and that's what I get.
Comment 11 Avi Alkalay 2004-02-07 14:30:25 UTC
Created attachment 4561 [details]
Kate with Bitstream Vera Sans 8pt
Comment 12 Avi Alkalay 2004-02-07 14:31:50 UTC
OK. 11px should be 8pt....
But anyway it is wrong.
Comment 13 Stephan Kulow 2004-02-07 14:35:11 UTC
Does "egrep 'MinimumFontSize|MediumFontSize' ~/.kde/share/config/*" give anything?
Comment 14 Avi Alkalay 2004-02-07 14:38:56 UTC
Created attachment 4562 [details]
Not exactly related: kate font list appear to be strange

Maybe it is related, maybe not. But this is something strange I just saw.
I allways used Lucida Sans Typewriter 8pt for code display. Now in Kate
fontselect window this font is buggy (as you can see). What Lucida Sans
Typewriter 8pt was, is now LucidaTypewriter 8pt, right bellow (as you can see
listed). This font is completelly new for me. I never saw it before, but in
some way it is an alias to my old Lucida Sans Typewriter.
Comment 15 Avi Alkalay 2004-02-07 14:42:09 UTC
$ egrep 'MinimumFontSize|MediumFontSize' ~/.kde/share/config/*
/home/aviram/.kde/share/config/konquerorrc:MediumFontSize=8
/home/aviram/.kde/share/config/konquerorrc:MinimumFontSize=6

As what I have in my Konqueror settings. I've already looked at that before
Comment 16 Avi Alkalay 2004-02-07 14:56:13 UTC
OK. I removed a java-fonts package I installed some days ago. It looks like it had a config with Lucida Sans Typewriter.

Quit KDE. init 3. service xfs stop. init 5. KDE login again.
The Lucida Sans Typewriter disapeared and now I only have LucidaTypewriter.

Konqueror problem persists, so it was not related to this java-fonts package I installed days ago.
Comment 17 Avi Alkalay 2004-02-07 15:02:28 UTC
Created attachment 4563 [details]
Font height are wrongly calculated

Look to the "Back To BUG# 74460" string. See how the underline is over the next
line text.
Actually, the next line is bad positioned. The same for the title "Changes
submitted...."
Comment 18 Stephan Kulow 2004-02-07 15:09:49 UTC
yes, that happens when the fonts are higher than the layout expected it. But that happens only under two conditions: a) you zoom [known bug] and b) your font system is broken in a way or another. 
But b) would show in more than konqueror and your FC_DEBUG output hints that Qt was actually requesting already the wrong font.

So I'm out of idea what's causing that for you, I can only say it works for me.
Comment 19 Stephan Kulow 2004-02-07 15:14:01 UTC
Please also check http://bugs.kde.org/show_bug.cgi?id=73500
Comment 20 Avi Alkalay 2004-02-11 20:07:23 UTC
Upgraded to www.kde.org 3.2 RPMs for Fedora Core 1.
The problem remains.
This compilation looks a bit faster.
Comment 21 Stephan Kulow 2004-03-25 09:25:18 UTC
Trolltech Issue N42618