[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Font Problems
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2003-08-10 5:34:02
[Download RAW message or body]

Daniel Engelschalt wrote:
> hi all, 
>  
> since i updated my qt-copy 2 weeks ago i have problems with fixed fonts in 
> konsole. the font is changing on every start... please take a look at the 
> attached screenshot (font config from konsole left, from kcontrol right). 
>  
> any suggestions? 

There is a bug here, but it isn't exactly your problem, perhaps.

Try different sizes.  The preview isn't the same font on some of
them.  Probably only one of them 15 (on your system).

The fonts are:

4x6.pcf.gz -misc-fixed-medium-r-normal--6-60-75-75-c-40-iso10646-1
5x7.pcf.gz -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1
5x8.pcf.gz -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
6x9.pcf.gz -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso10646-1
6x10.pcf.gz -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1
7x13.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
7x14.pcf.gz -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
10x20.pcf.gz -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1

{the first number after '--' is the pixel size and the second is 10x the 
point size.  They don't always match due to rounding -- 75 px/inch vs. 72 
pt/inch -- since they apparently wanted integer point sizes.}

Then there is another issue which I forgot.  KDE adds another:

9x15.pcf.gz -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1

in: "$KDEDIR/share/fonts/"

What I think/guess is happening is that the widget is showing the pixel
sizes and you are using 75 DPI (this must be corrected for DPI since I have
different sizes).  You are trying to use the 15 px font (9x15.pcf.gz) which
isn't in your X11 fonts directory: 'misc'.  Check your: "fonts.dir" file.

If it isn't there, you need to setup FontConfig to find it where KDE 
installed it.

I presume that you built KDE from source.  If you installed it in:
"/usr/kde3/" which is the default. Then add the font directory to:
"/etc/fonts/local.conf":

----------------------------------------------------------------
<fontconfig>

	<dir>/usr/kde3/share/fonts</dir>

----------------------------------------------------------------

Run:

	fc-cache -v

and see if it finds three fonts in: "usr/kde3/share/fonts/".

But, this doesn't explain the bug.  I'm not sure what is happening except 
that it appears that the widget is listing sizes for the bitmapped font 
that don't exist.  Perhaps it is getting the pixel and point sizes confused.

Does it work OK when you select the font: "Large" for Konsole?  That is, do 
you get a Sans Serif font.

I have screwed around with my system (I had redundant fixes for the KDE 
font problem) and now I get the same wrong font in the preview in BOTH 
Konsole and Control Center.  Go figure. :-|

--
JRT


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic