In my goals to develop and design primarily out of linux, I decided to see what installing fonts was like in Slackware. Like everything else, it's really hard until you figure something out that works! The joys of linux!
The super duper easy way I discovered is to use the KDE window manager font installation feature. I tried a number of other things (some of which REALLY messed things up... I won't expand on those tonight.) but here is what worked and my primary source of usefulness on the issue.
http://penguinfonts.com/howto/slackware.phpFirst off, you can choose to follow step #3 to install the standard MS Windows fonts if you want 'em. Then (for me, anyway) I had to add in another series of steps. From the command line I had to run:
mkfontscale
mkfontdir
fc-cache -f -v
xset fp rehash
FIRST.... if you're like me, these apps won't be runnable without putting the full path in front. For me I had to "whereis" every one (the first "word" of each command) to figure out where they actually lived. Then it was smooth sailing. I exited X (if I was in it) and started it up again. The newly installed fonts magically appeared in apps like The GIMP and Inkscape. Whoo!
I have a TON of fonts that I've collected and used in Windows so just to make life easy enough for now, I wanted to install the same fonts that I currently have installed. I have my C: drive mapped to
/c-drive (this happened magically on Slackware setup... I must have done something right!!!) and my fonts are under
/c-drive/Windows/fonts. I just copied them all to a more local location. (It ended up being
/usr/local/share/ttf due to some earlier font installation attempts that didn't quite work out.) What worked for me was (as already mentioned) going into KDE (instead of Freerock Gnome, in my case) and following PenguinFonts step #1a, heading into the Control Center.
To make this work all the way, I had to go into Administration Mode (root password required) and then add fonts, selecting all the ready-to-be-added fonts. After that operation was successful, I again had to follow those four steps (as discussed above) and then restart X. Amazingly (after much pain in the process) it worked.
Now.... all I want to know is, if I install ALLLLLL my fonts (including the many that I do not have load up on start up in Windows) ... will that slow down Slackware? Is the startup affected similarly?? Hmmmm....
(P.S. I do not like xdm. I accidently take myself into it, when I'm really looking for xwmconfig. Argh. I can never get completely out of xdm without a total restart. ARGH!!)
Labels: fonts, linux, Slackware