[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Fonts in a KDE application
From: Craig Drummond <Craig.Drummond () gmx ! net>
Date: 2005-04-06 9:41:32
Message-ID: 200504061041.32393.Craig.Drummond () gmx ! net
[Download RAW message or body]
> I find that on my system that:
>
> kfmclient copy <font_name>.ttf fonts:/System/
>
> copys the file to "$KDEDIR/share/fonts" which doesn't seem correct to
> me. And, it didn't update the Fontmap file in the directory.
Hmmm...strange. To locate the system font directory, kio fonts queries
fontconfig for its list of folders. The default, and preferred, folder is
"/usr/local/share/fonts/". If the default is in the list of folders, then
this is what is used. If not, then the list is checked for the 1st sub folder
of "/usr/local/share/", and if none found then default is used and added to
fontconfig. So if your KDEDIR is /usr/local, then $KDEDIR/share/fonts is the
correct place. If $KDEDIR is /usr, /opt, etc. then something is a bit odd
($KDEDIR is never looked at/used!)
No Fontmap file is created in the font directory. Fontmaps are created in
$HOME/.fonts for non-root, and /etc/fonts/ for root (and this one should be
added to Ghoscript's main Fontmap file)
But, does installing the font work? (Afterall that is the main purpose!)
Craig.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic