Adinda Praditya email@example.com さんは書きました:
Pada tanggal Friday 30 May 2003 07:16, Ben Rosenberg menulis:
- Adinda Praditya (firstname.lastname@example.org) [030529 16:21]:
->Dear All, -> ->How can i add TTF ? I tried KDE Control Center, but it doesn't work for any X ->clients. Is there any other way to add them? The easy one would be great ->because i'm confuse to read the "Administration Guide".
You can copy them here..
Then run SuSEconfig so it can set them up for system use.
Thanks, It really works!
What about adding some non TTF ? I have some of them and their fonts.dir both in a directory. And then i ran
# cp -r newfont/ /usr/X11R6/lib/X11/fonts/ # fonts-config -f
Add the new directory to /etc/X11/XF86config, i.e.
Section "Files" [...] FontPath "/usr/X11R6/lib/X11/fonts/local" [...] EndSection
Then run SuSEconfig.
Is it wrong to copy a directory? If it is, where should i copy them? How can i know (the type) where to put them?
You can put it anywhere you like. You just have to make sure the directory is in /etc/X11/XF86config (or /etc/X11/fs/config if you are using the font server "xfs").
And, if you want to use the fonts via Xft2/fontconfig as well (for example for Anti-Aliasing in KDE), you have to make sure that your directory is either listed directly in /etc/fonts/fonts.conf or is a subdirectory of one of the directories listed there.
There is a section looking approximately like this near the top of /etc/fonts/fonts.conf:
<dir>/usr/share/fonts</dir> <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/opt/kde3/share/fonts</dir> <dir>/opt/OpenOffice.org/share/fonts</dir> <dir>/opt/staroffice6.0/share/fonts</dir> <dir>~/.fonts</dir>
You can also add such directories to ~/.fonts.conf if you want it for one user only, or you can add it to /etc/fonts/local.conf if you want to avoid loosing your additions when updating (an update will overwrite /etc/fonts/fonts.conf).
Is there any tips or an easy manual about this?
A tiny bit of information is in "man fonts-config".