Bug 68872

Summary: sucky fonts in KDE startup
Product: [Retired] Red Hat Public Beta Reporter: James Manning <jmm>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: limboCC: aleksey, bero, chris.ricker, otaylor, than, voz
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-31 19:19:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67217    
Attachments:
Description Flags
check the crappy font look for "Initializing peripherals"
none
fonts in CC and konq looking bad none

Description James Manning 2002-07-15 15:50:11 UTC
dunno if this is like bug 68476 with the monospace/fixed difference needing a
hack or what, but the startup fonts look pretty bad IMHO - sshot coming

bringing the cc/assign over from that bug just in case it's the same basic root
cause

Comment 1 James Manning 2002-07-15 15:51:42 UTC
Created attachment 65404 [details]
check the crappy font look for "Initializing peripherals"

Comment 2 Owen Taylor 2002-07-15 22:31:36 UTC
Seems unrelated. 

Somehow, the font being used here is a badly rendered bitmap; and
thus probably not going through Xft at all. 

One would have to investigate how that text is being drawn.




Comment 3 Aleksey Nogin 2002-07-16 15:43:42 UTC
I'll have to dbl-check, but if I am not mistaken, this looks much better in my
setup...

Comment 4 James Manning 2002-07-16 15:49:04 UTC
this is @ 1152x864 res, S3 Savage Pro4 card if that makes a diff - if it's
really bitmap it may just be crappy at certain res's, but 1152x864 seems like it
should be high enough not to suck :)

Comment 5 Owen Taylor 2002-07-16 19:47:17 UTC
It really shouldn't be a bitmap at all.

Comment 6 James Manning 2002-07-16 20:01:03 UTC
um, ok :)

So where do we go from here?

than?  Any luck on a cause?

Comment 7 Owen Taylor 2002-07-16 20:23:28 UTC
Looking at the code, there is nothing very special about this label:

    status_label->setText(text);
    QFont status_font = QFont(status_label->font());
    status_font.setBold(true);
    status_label->setFont(status_font);

Bold fonts seem to work OK in general for me in Qt/KDE.

Does it matter what you have set for your "General Font" in the
KDE control center?

Comment 8 James Manning 2002-07-16 21:03:58 UTC
actually - that's kind of interesting - the crappy-looking bold font appears to
be the same as the "window title" font (looks like bold helvetica 12).  I'll
sshot.  Notice how the bold looks bad in the konq window too

Comment 9 James Manning 2002-07-16 21:04:35 UTC
Created attachment 65584 [details]
fonts in CC and konq looking bad

Comment 10 James Manning 2002-07-16 21:09:11 UTC
interesting side note: in the KDE CC, the default fonts are "helvetica 12"
(mainly) which has helvetica lower-cased.  If you do a "Choose font", *all* the
fonts listed start with a capital letter, so you can't get "back" to "helvetica 12".

Comment 11 Owen Taylor 2002-07-16 21:42:25 UTC
Oh. turn on "Use antialising for fonts". Without doing that, things
are going to inevitably going to look sucky.

(I apologize if you aren't a fan of antialiasing; the problem is
that the way we used to do "non-antialiased text" and make it
look good was to use a few selected bitmaps that looked nice.
Unfortunately, this just doesn't work when you are trying to
provide a nice consistent interface to fonts to users and developers -
"you can use Helvetica, but only if you aren't
antialiasing, and only at sizes 12,14, and 18." is making things
really complex and hard to get right.)

We may eventually have embedded bitmaps in our default fonts so
they'll look good non-antialiased at the sizes where we have
bitmaps, and less good elsewhere.)

Getting the default KDE font settings right is a place we still
need to do a fair bit of work.

Comment 12 Ngo Than 2002-07-17 00:11:43 UTC
it's fixed now in kdebase-3.0.2-3. Antialiasing is default on.
start kpersonalizer and choose redhat style it should works fine.

Comment 13 Chris Ricker 2002-08-24 17:03:16 UTC
it's still sucky in null in kdm

Comment 14 Jay Turner 2002-08-30 01:51:32 UTC
Things look tons better with kdebase-3.0.3-7.

Comment 15 Chris Ricker 2002-08-31 14:42:17 UTC
Things are sorta better with kdebase-3.0.3-7

Here's what I see with that.

Install beta5, get sucky fonts (gotta love that technical jargon ;-) in kdm
up2date, get kdebase-3.0.3-7, still have sucky fonts in kdm
run kcontrol manually, force anti-aliasing on, then get non-sucky kdm fonts

Is there any reason anti-aliasing can't be turned on out of the box?

Comment 16 Ngo Than 2002-08-31 19:19:27 UTC
turn on AntiAliasing as default fixes this bug. 3.0.3-9 has this fixes

Comment 17 Jay Turner 2002-09-03 16:45:50 UTC
kdebase-3.0.3-10 has anti-alias fonts by default.