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

List:       kde-bugs-dist
Subject:    [Bug 105102] Font installation is incredibly slow
From:       Craig Drummond <craig () kde ! org>
Date:       2006-05-03 9:02:11
Message-ID: 20060503090211.23644.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=105102         




------- Additional Comments From craig kde org  2006-05-03 11:02 -------
> ------- kfontinst -x /root/.fonts
> Segmentation Fault
> (permission issue?: cannot install system wide from /root folder ?)


So whats in ~root/.fonts? and whats the permission of this? Cant think it'd be 
a permissions problem, as (I assume) you're running kfontinst as root.

But, the installer, when run as root, will (should) not install fonts into 
~/.fonts - it should use /usr/local/share/fonts

> # kfontinst -x /usr/local/share/fonts
> doesn't crash, carrige return


Good!:-) So I wonder where the 100% cpu usage was coming from?

> #less /etc/fonts/local.conf | grep dir
>  <dir>/usr/local/share/fonts</dir>


...but you said you had to add "/usr/local/share/fonts" 
to /etc/fonts/fonts.conf to fix the add/delete issue.


> made me think: it must have been added by kfontinst -f
> /usr/local/share/fonts, 


Yup - that's what the -f does. But, when fonts:/ is run (the kcontrol module 
is just a front end for fonts:/) it checks fontconfig's dirs, and should 
add /usr/local/share/fonts if it is not already listed. Or it will use any 
sub-dir of /usr/local/share/ that is listed in fontconfig's paths.

> because when i deactivated that line from the main 
> config file, and the error that the file exists and it is zero bytes didn't
> appear any more. 


When you deactivated it the error disappeared? You said you needed the line to 
stop the error...

> I wonder if kfontinst's first command is to add/delete the 
> fonts, and not to add the folder to the config files, then it would try
> again and again to make the modification, but doesn't know where the font
> is... Apparently, fedora5 uses fontconfig-2.3.94 (did a search on
> rpm.pbone.net)


Hmmm... 2.3.94 is a beta release for 2.4.

As you're using "fontconfig-2.3.94", do you also have the folling error: 
https://bugs.kde.org/show_bug.cgi?id=124007

...which I think fontconfig 2.3.95 fixes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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