SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
A supplement to the font discussion in this thread:
I have downloaded several fonts from the Internet which did not work in X resp. KDE. Originally they were TTF fonts, later I converted them into Type1.
In both cases their names appear in the list (-> fontpath OK) but they are not displayed. A default font (arial or something like that) appears instead.
O.K., suppose these fonts are corrupted.
But surprisingly the corrupted fonts work well in Staroffice 6, on the screen as well as in printing !
I have follwed all of the intructions, installed the new bitstream font package that Patrik so kindly provided, but my problem is that when X starts my fonts are very very tiny in GTK2 and KDE apps. Then when i run gnome-font-properties and do not change anything just hit OK then the next GTK2 or KDE app i start is using properly sized TTF font until i restart X then it goes back to teeny tiny fonts.
i follow all the steps and for some odd reason i keep getting this error:
kyle@scarabrae:/usr/X11R6/lib/X11/fonts/TTF$ xset +fp /usr/X11R6/lib/X11/fonts/TTF/
xset: bad font path element (#175), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
anybody have a fix for me? i don't any of that stuff should be at fault, since i chmoded the files and used mkfontdir and such
[edit] i just noticed that gaim uses all the new fonts...but no dice for anything else
Well, the command looks like the proper syntax from here. It's also possible, I guess, that one of the elements already in your font path is incorrect in your XF86Config file. You could check that. The font files appear to have the correct permissions since they are working for gaim, a fontconfig enabled program. It would appear that your problem lies either in your X configuration or in the fonts.dir or fonts.scale files, simply judging by which programs have a problem and which don't. You should note that the xset statements should not be necessary at all to get the fonts to work for all your programs. They are only necessary to add fonts to an Xsession that is already started. You do not need these statements if you have restarted your server.
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!
any ideas? i could always get my fonts to work before(through xfstt) but i'm a bit stumped on this. i can only get programs that use fontconfig to recognise them
i decided to try adding fonts by their corresponding alphabet letter(to save time). when i got to "F", i would get the xset +fp... error. turns out that i had 2 fonts that started with "F" but they had spaces in the file name. apparently xset doesn't like that, so i changed it and i'm on my way
Thanks to Rodrin for that superb original post back in May. It simplified the whole process of installing Truetype fonts.
Just a couple extra notes that seemed to be necessary (for me in Slackware 9.1).
Fonts starting with an uppercase letter need to be renamed to start with a lowercase letter. The presence of fonts starting with an uppercase letter seems to stop some apps (for me, the gimp and gnp+) from recognising all of the newly installed Truetype fonts. In fact to be sure, I changed all characters in the font name to lowercase. Not sure if this is necessary. Rerun fc-cache, mkfontscale, and mkfontdir after changing the font names.
The fonts.scale file seems to need permissions of 444. Easy to change this to 644 without trying, when you change permissions on the *.ttf files, and it seemed to create problems for me until changed back to 444.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.