Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23252 - Wrong fonts in KDE
Summary: Wrong fonts in KDE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo KDE team
URL: http://zapp.no-ip.com/snapshot2.png
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-21 21:39 UTC by Ernst Sjöstrand
Modified: 2003-09-20 01:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Sjöstrand 2003-06-21 21:39:29 UTC
All font selection dialogs in KDE show wrong font, specially "terminal" kind of fonts. 
I have recently emerged fontconfig 2.2, and rebuilt kde and X since. 
Everyting else latest ~ppc. 
 
I'll be happy to provide more detail. 

Reproducible: Always
Steps to Reproduce:
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-28 01:25:39 UTC
argh. Not again. Make sure of the following:
- All font files should be world readable
- The fonts.scale files must exist and be readable
- The according fonts.dir files must exist and be readable
- You might want to delete all fonts.cache* files, and run fc-cache -f
Comment 2 Ernst Sjöstrand 2003-07-06 02:42:19 UTC
Ok, I was going to post he output of 'ls * -l' /usr/share/fonts/ and /usr/X11R6/lib/X11/fonts/ here but that was too much. 
Here is another thing:

find /usr/X11R6/lib/X11/fonts/ -name "fonts*"
/usr/X11R6/lib/X11/fonts/local/fonts.dir
/usr/X11R6/lib/X11/fonts/util/fonts.dir
/usr/X11R6/lib/X11/fonts/util/fonts.list
/usr/X11R6/lib/X11/fonts/misc/fonts.dir
/usr/X11R6/lib/X11/fonts/misc/fonts.alias
/usr/X11R6/lib/X11/fonts/misc/fonts.list
/usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/75dpi/fonts.alias
/usr/X11R6/lib/X11/fonts/75dpi/fonts.list
/usr/X11R6/lib/X11/fonts/75dpi/fonts.cache-1
/usr/X11R6/lib/X11/fonts/100dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/100dpi/fonts.alias
/usr/X11R6/lib/X11/fonts/100dpi/fonts.list
/usr/X11R6/lib/X11/fonts/100dpi/fonts.cache-1
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.dir
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.alias
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.list
/usr/X11R6/lib/X11/fonts/Speedo/fonts.dir
/usr/X11R6/lib/X11/fonts/Speedo/fonts.scale
/usr/X11R6/lib/X11/fonts/Speedo/fonts.list
/usr/X11R6/lib/X11/fonts/Type1/fonts.dir
/usr/X11R6/lib/X11/fonts/Type1/fonts.scale
/usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1
/usr/X11R6/lib/X11/fonts/Type1/fonts.list
/usr/X11R6/lib/X11/fonts/CID/fonts.dir
/usr/X11R6/lib/X11/fonts/CID/fonts.scale
/usr/X11R6/lib/X11/fonts/TTF/fonts.dir
/usr/X11R6/lib/X11/fonts/TTF/fonts.scale
/usr/X11R6/lib/X11/fonts/TTF/fonts.list
/usr/X11R6/lib/X11/fonts/truetype/fonts.dir
/usr/X11R6/lib/X11/fonts/truetype/fonts.list
/usr/X11R6/lib/X11/fonts/truetype/fonts.cache-1
/usr/X11R6/lib/X11/fonts/ukr/fonts.dir
/usr/X11R6/lib/X11/fonts/ukr/fonts.alias
/usr/X11R6/lib/X11/fonts/mdk/fonts.dir
/usr/X11R6/lib/X11/fonts/sharefont/fonts.dir
/usr/X11R6/lib/X11/fonts/sharefont/fonts.list
/usr/X11R6/lib/X11/fonts/sharefont/fonts.cache-1
/usr/X11R6/lib/X11/fonts/lfp-var/fonts.dir
/usr/X11R6/lib/X11/fonts/lfp-fix/fonts.dir

find /usr/share/fonts/ -name "fonts*"
/usr/share/fonts/ttf-bitstream-vera/fonts.cache-1
/usr/share/fonts/ttf-bitstream-vera/fonts.dir
/usr/share/fonts/ttf-bitstream-vera/fonts.scale
/usr/share/fonts/fonts.cache-1
/usr/share/fonts/freefont/fonts.dir
/usr/share/fonts/freefont/fonts.scale
/usr/share/fonts/freefont/fonts.cache-1
/usr/share/fonts/default/Type1/fonts.scale
/usr/share/fonts/default/Type1/fonts.dir
/usr/share/fonts/default/Type1/fonts.list
/usr/share/fonts/default/Type1/fonts.cache-1
/usr/share/fonts/default/fonts.cache-1

ls /usr/X11R6/lib/X11/fonts/
100dpi/  75dpi/  CID/  Speedo/  TTF/  Type1/  cyrillic/  encodings/  lfp-fix/  lfp-var/  local/  mdk/  misc/  sharefont/  truetype/  ukr/  util/

ls /usr/share/fonts/
corefonts/  default/  fonts.cache-1  freefont/  ttf-bitstream-vera/

Has the following ebuilds installed:
media-fonts/corefonts
media-fonts/freefonts
media-fonts/lfpfonts-fix
media-fonts/lfpfonts-var
media-fonts/urw-fonts
media-fonts/sharefonts

Anyway, I checked all the things you mentioned (I think everything was in order) and I updated the cache but everyting is as it used to be.

- The fonts.scale files must exist and be readable
- The according fonts.dir files must exist and be readable

In all font folders??
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-07 01:47:37 UTC
fonts.scale files should of course only exist in directories with scalable fonts. You can use mkfontscale to create them. For example that is necessary in your truetype dir. Truetype fonts are scalable, and so need to be in fonts.scale. mkfontdir can then be used to put it into the fonts.dir file. 
Comment 4 Ernst Sjöstrand 2003-09-14 08:59:36 UTC
Close this, QT(-Copy-cvs) 3.2.1 solved all the problems! 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-09-20 01:56:59 UTC
Happy to hear that