after upgrade to 3.2.1 fonts are slow...

James Richard Tyrer tyrerj at acm.org
Sun May 23 18:35:04 BST 2004


hgfelger at hgfelger.de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Salut folks,
> after I did an upgrade from my SuSE 8.1 to 9.1 the kde is slower than 
> before. There are times, when the system locks up for a few seconds...
> 
> The well running system was updated till kde 3.1.5 before (with partly 
> self compiled components...)
> 
> When I start konquerer out of a shell I get this message, right before 
> it starts showing the content:
>  couldn't open fontconfigs chosen font with Xft!!!
>   (some 20 times of this line... or more)
> So it seems to me, that the problem is font-system related. Also, if I 
> try to magnify the konqueror contents, the lockup (just for a couple of 
> seconds) take place, some time - maybe, if it hit a fontsize, it had not 
> displayed this session?
> 
> Deleting the ~/.fonts directory did not help. Even a newly created user 
> showed this problem. Also fc-cache -f and SuSEconfig did not help.
> I then had a look into kcontrol/Aystem Administration/Font Installer:
>   Could not start process Unable to create io-slave:
>   klauncher said: Fehler beim Laden von "kio fonts"
> translated: error while loading "kio fonts"
> the shell says:
>  kcontrol: WARNING: KGenericFactory: instance requested but no instance
>  name passed to the constructor!
>  kcontrol: ERROR: ERROR 3: couldn't create slave : Unable to create
>  io-slave:
>  klauncher said: Fehler beim Laden von "kio_fonts"
> 
> when entering "Administartor Mode"
>  it says, after some searching on the harddisk:
>  The process for the fonts protocol died unexpectedly
> the shell says:
>  QLayout "unnamed" added to QVBox "m_body", which already has a layout
>  kcmshell: WARNING: KGenericFactory: instance requested but no instance
>  name passed to the constructor!
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  xset:  warning, no entries deleted from font path.
>  /opt/kde3/bin/kioslave: error while loading shared libraries:
>  /opt/kde3/lib/kde3/kio_fonts.so: undefined symbol: FTC_Manager_New
> So I guess, I have to compile (at least) some part of QT/KDE for myself?
> 
> Does anyone have a suggestion, where it would be best to start with?
> Is it right to try to start with QT, as it is responsible for the fonts?
> Is the font-installer a totally different story, that would not bring me 
> forward?
> 

Yes, start with Qt.  Run:

	ldd /usr/local/qt-3.3.2/lib/libqt-mt.so.3.3.2

{your path to qt may be different]

and make sure that it is finding:

	libXft.so.2
	libfreetype.so.6

If not then that is your problem.  If this is the problem, there could be 
two causes:

1.	Qt is not linked against these libraries.

You would need to rebuild Qt.

2.	LD.SO is not properly finding the libraries.

Check that the paths for their directories are in: "/etc/ld.so.conf" and 
then as root, run:

	ldconfig -v |grep freetype.so.6
	ldconfig -v |grep Xft.so.2

to make sure that they are found.

--
JRT
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list