Bug 68476

Summary: font suckage in konsole
Product: [Retired] Red Hat Linux Reporter: James Manning <jmm>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: aleksey, bero, ekanter, otaylor, rdieter, 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: 2003-05-08 11:44:23 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
sshot showing konsole font suckiness
none
Patch making the default fonts for konsole "monospace" not "fixed" none

Description James Manning 2002-07-10 15:32:02 UTC
I'm gonna reuse the same sshot - prob. wrong component, will reassign to Owen
since he seems like the right guy for this

Comment 1 James Manning 2002-07-10 15:32:34 UTC
Created attachment 64611 [details]
sshot showing konsole font suckiness

Comment 2 Owen Taylor 2002-07-10 23:20:05 UTC
Definitely a konsole problem. I'll leave it assigned to myself for
now, since I'm investigating where konsole gets its fonts from
at the moment.

Comment 3 Owen Taylor 2002-07-10 23:37:20 UTC
OK, what needs doing:

 - Change the occurrences of the string "fixed" in 

    kdebase/konsole/konsole.cpp
    kdebase/konsole/konsole_part.cpp

   To "monospace"

 - Remove the "Linux" and "Unicode" entries from the 
   Settings/font menu, since they don't make sense
   in Xft land.

I'll attach a untested patch that does this.



Comment 4 Owen Taylor 2002-07-10 23:38:08 UTC
Created attachment 64684 [details]
Patch making the default fonts for konsole "monospace" not "fixed"

Comment 5 Owen Taylor 2002-07-11 23:23:11 UTC
*** Bug 66824 has been marked as a duplicate of this bug. ***

Comment 6 Ngo Than 2002-07-12 08:35:20 UTC
will add your fix in next kdebase rebuild. thanks

Comment 7 Ngo Than 2002-07-14 20:23:29 UTC
the qt3.diff patch file included in qt-3.0.4 causes such problem.
if i disable it, it works fine and all bugs 67648,67915, 68476, 68618 are gone.

Owen, Do you know about this problem?

Comment 8 Owen Taylor 2002-07-14 20:56:44 UTC
And if you remove qt from the distribution, all the bugs are gone too;:-).

qt3.diff is part of a very important Milan feature; consistent font lookup
and rendering across the distribution. Removing it isn't really an
option.




Comment 9 Mattias Dahlberg 2002-07-15 15:07:44 UTC
Have the Qt diff been sent to Trolltech and the Konsole diff to the KDE 
developers to possibly get them merged upstream?

Comment 10 James Manning 2002-07-15 15:35:08 UTC
1) as noted, it (at least for the moment) makes things suck - why would they
take it?

2) the diff comes out of a desire to merge fonts with gnome (afaik), so I don't
see how it helps trolltech or kde, it simply helps a distribution maker trying
to  follow a good KISS rule

course, it couldn't hurt to send it up anyway to see if they take it.  also,
they make help patch it to a better state either way.  definitely won't know til
ya try :)

Comment 11 James Manning 2002-07-15 15:46:30 UTC
um, nevermind, i'm on crack - i thought you were talking about qt3.diff - *sigh*

Monday, Monday

Comment 12 Need Real Name 2002-07-17 17:47:00 UTC
The qt3.diff patch is *not* to merge Gnome fonts and KDE fonts, it's because QT3
uses APIs which are disappearing from XFree86 *soon*.  QT3 is using old Xft1
APIs, Xft1 is going away and so Qt3 needs to move to the new library.

Bugs in qt3.diff should get fixed.

Comment 13 Aleksey Nogin 2002-07-21 21:34:24 UTC
In Limbo+full up2date the fonts are much better. I no longer see any
"double-width" fonts, no matter what I choose (e.g. both the "Default" and
"Other" fonts are OK).

Other problems are still there though:
- The font selecting dlg for "other" does not seem to really correspond to the
actuall choices.
- For many selections ASCII symbols have size significantly different from the
size of Cyrillic symbols.

Comment 14 Eric Rose 2002-07-23 08:52:38 UTC
Many of the fixed-width fonts are still double-spaced
in the konsole (and kcontrol) font browser. For example
lucidatypewriter come out double-spaced. Any ideas to
how I can debug or track down this problem?

Comment 15 Aleksey Nogin 2002-07-23 18:32:39 UTC
Eric, what version of kdebase do you have installed? I am asking because you
mentioned kcontrol and with kdebase-3.0.2-3 it is not working for me at all (bug
69031).

Comment 16 Eric Rose 2002-07-24 11:36:57 UTC
ayn2:

I had to upgrade to qt-3.0.4-12 and kdebase-3.0.2-4 to get kde
back into decent shape (konsole refresh and font suckage). Before
this kdm and just about everything else was crashing. BTW I
have XFree-86 up to -52, the most recent as of last week. Ditto
for Xft.

I still have this lingering font problem, and hope it will be fixed
soon! It could of course be my Xft-Config, but I've been through
the tutorial now and I think what I have is ok, or at least close
enough. It would be nice if debugging these font problems were easier.
Its hard to peice together good debugging techniques from what I've
been able to find on the web.

Comment 17 Aleksey Nogin 2002-07-24 14:42:16 UTC
I am still at kdebase-3.0.2-3 (from up2date), but yes - if I choose
lucidatypewriter, I get the double-width fonts in konsole (the reason I have not
noticed it is because in the fontpicker itself it looks OK!) 

So my statement should be revised:

With Limbo+up2date (kdebase-3.0.2-3) I do not see any double-width fonts *in the
fontpicker* (but some are still bad in the konsole itself). The default fonts
are finally OK.

I have not touched my Xft-Config.


Comment 18 Eric Rose 2002-07-25 07:38:01 UTC
ayn2: 
 
Hey, could you post the (relevant) packages you have installed? 
I'd like to figure out what you have installed that fixes the 
problem. Here are mine: 
 
kdelibs-3.0.2-1 
kdebase-3.0.2-4 
 
XFree86-xfs-4.2.0-52 
urw-fonts-2.0-22 
XFree86-100dpi-fonts-4.2.0-6.52 
chkfontpath-1.9.6-3 
XFree86-truetype-fonts-4.2.0-52 
ttfonts-1.0-11 
XFree86-75dpi-fonts-4.2.0-6.52 
XFree86-font-utils-4.2.0-52 
type1-freefonts-0.10-2cl 
ghostscript-fonts-5.50-3 
xtt-fonts-0.19990222-9 
fontconfig-0.0.1.020607.1058-5 
tetex-fonts-1.0.7-15 
XFree86-base-fonts-4.2.0-52 
 
Xft-1.9.1.020708.0036-2 


Comment 19 Ngo Than 2002-07-25 22:06:27 UTC
i have made some tweaks to qt3 patch. It workd fine now. misc font and
lucidatypewriter can be showed correct in konsole.

You find the new qt-3.0.5-4 on ftp://people.redhat.com/rawhide/.
Notice: you have to update new gcc-3.2-0.1 in rawhide first.

Comment 20 James Manning 2002-07-26 13:28:50 UTC
For anyone actually trying this, the correct path is, of course, inside than's
directory

ftp://people.redhat.com/than/rawhide/

Than, why no .src.rpm in there for the qt mods?

Comment 21 Ngo Than 2002-07-26 14:05:45 UTC
alle currennt qt-3.0.5-6 RPM/SRPMS are now ftp://people.redhat.com/than/rawhide/

Comment 22 Jay Turner 2002-08-22 12:42:09 UTC
I'm closing this out, as all looks good to me.  Please reopen if people are
still finding problems with the KDE fonts.

Comment 23 Aleksey Nogin 2002-09-04 05:45:55 UTC
I did a fresh install on 7.3.94 ((null)) today (with US English and Russian
languages, Russian being the default). Now things are pretty bad again - the
"Other" menu in konsole only has 3 choices (all variations of Courier) and the
cyrillic symbols are double-spaced in all of them (although the ASCII ones are OK).

Comment 24 Aleksey Nogin 2002-09-06 22:18:23 UTC
In (null)+up2date the problem still exists (but in a slightly different way).
The default monospace font is too high (and I had to increase the inter-line
spacing to get "tails" of "gyj" from being "eaten"), but at least it is no
longer double-spaced. All the fonts in "other" menu still show cyrillics
double-spaced.

Comment 25 Ngo Than 2002-09-20 10:48:44 UTC
It's fixed in kdebase-3.0.3-13 or newer

Comment 26 Aleksey Nogin 2003-01-06 08:16:15 UTC
This is back in Phoebe. After upgrading from 8.0 to Phoebe I seem to have the
following choices:

- keep using the former default (Monospace). This is *extremely* ugly - see bug
80403 attachment 89148 [details] for a screenshot.

- Select a new font. Those have the following problems:
(a) double-spaced cyrillic letters
(b) font is not resizable (no matter what size I pick it stays the same, or at
least the cyrillic component stays the same), only one size is available (and is
too big for me).

Specifically:
* Console8x16: very bold, not resizable (too big)
* Console8x8: double-spaced (but resizable, weird)
* Courier: double-spaced
* Courier 10 Pitch: double-spaced (identical to Courier)
* Fixed: not resizable (too big). This is the most usable choice though...
* Lucidatypewriter: double-spaced
* Luxi Mono: double-spaced

And that's it, there are no other choices...

% rpm -qa|grep font|sort
bitmap-fonts-0.2-4
chkfontpath-1.9.6-4
fontconfig-2.1-1
fontconfig-devel-2.1-1
fonts-KOI8-R-100dpi-1.0-4
fonts-KOI8-R-1.0-4
ghostscript-fonts-5.50-8
tetex-fonts-1.0.7-62
urw-fonts-2.0-26
XFree86-100dpi-fonts-4.2.99.2-0.20021217.0
XFree86-75dpi-fonts-4.2.99.2-0.20021217.0
XFree86-base-fonts-4.2.99.2-0.20021217.0
XFree86-cyrillic-fonts-4.2.99.2-0.20021217.0
XFree86-font-utils-4.2.99.2-0.20021217.0
XFree86-truetype-fonts-4.2.99.2-0.20021217.0

% rpm -q kdebase
kdebase-3.1-0.9


Comment 27 Aleksey Nogin 2003-02-04 02:12:34 UTC
With the latest stuff from Rawhide I have:
* Console8x16: very bold, not resizable (too big)
* Console8x8: double-spaced (but resizable, weird)
* Courier: double-spaced
* Courier 10 Pitch: double-spaced (identical to Courier)
* Fixed: not resizable (too big). This is the most usable choice though...
* Lucidatypewriter: double-spaced (seems identical to Courier)
* Luxi Mono: double-spaced (seems identical to Courier)
* Miscfixed: a very weird thing. Selecting sizes 11, 12, 13, or 14 produce fonts
of the *exacly* same size. Selecting sizes 11 and 12 yields the font identical
to what I get under "Fixed". Selecting sizes 13 or 14 produces identical
results, but the shape of certain letter is different from those I get with 11
or 12 (for example, cyrillic "A" has pointy top at 13 and 14, while having a
round top at 11 and 12); but some letters look exactly the same.  When I select
size 10, I get font that exactly 1.5 times narrower then the one I get at 11-14
and is shaped the same as 13-14. At 9, I get the same width as at 10, somewhat
shorter, same shape as 11-12. The 11-14 size is a little too big and 8-9 is too
small (as I said, the difference in sizes is really big).
* Monospace: double-spaced and is displayed blueish and reddish in some places.

% rpm -qa | egrep 'kdebase|kdelibs|freetype|font'|sort
bitmap-fonts-0.3-2
chkfontpath-1.9.6-4
fontconfig-2.1-4
fontconfig-devel-2.1-4
fontilus-0.3-4
fonts-KOI8-R-100dpi-1.0-5
fonts-KOI8-R-1.0-5
freetype-2.1.3-5
freetype-devel-2.1.3-5
freetype-utils-2.1.3-5
ghostscript-fonts-5.50-9
kdebase-3.1-1
kdebase-devel-3.1-1
kdelibs-3.1-2
kdelibs-devel-3.1-2
tetex-fonts-1.0.7-64
urw-fonts-2.0-29
XFree86-100dpi-fonts-4.2.99.4-20030129.4
XFree86-75dpi-fonts-4.2.99.4-20030129.4
XFree86-base-fonts-4.2.99.4-20030129.4
XFree86-cyrillic-fonts-4.2.99.4-20030129.4
XFree86-font-utils-4.2.99.4-20030129.4
XFree86-truetype-fonts-4.2.99.4-20030129.4


Comment 28 Than Ngo 2003-05-08 11:44:23 UTC
it's fixed in 9. i cannot reproduce it wiht RHL9