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:
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
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??
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.
Close this, QT(-Copy-cvs) 3.2.1 solved all the problems!
Happy to hear that