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". Thanks, Adinda
On Fri, 30 May 2003 06:15:38 +0700 Adinda Praditya <duduang@softhome.net> wrote:
How can i add TTF ?
(1) Put the fonts in /usr/X11R6/lib/X11/fonts/truetype (2) Run: fonts-config -f Charles -- "...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly)." (By Matt Welsh)
* Adinda Praditya (duduang@softhome.net) [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.. /usr/X11R6/lib/X11/fonts/truetype Then run SuSEconfig so it can set them up for system use. -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org The IQ and the life expectancy of the average American recently passed each other going in the opposite direction.
Ben Rosenberg <ben@whack.org> [Thu, 29 May 2003 17:16:12 -0700]:
You can copy them here..
/usr/X11R6/lib/X11/fonts/truetype
Then run SuSEconfig so it can set them up for system use.
But this only works with SuSE Linux 8.2 and up. For older versions, it's a bit more tricky. Philipp
Philipp Thomas <philipp.thomas@t-link.de> writes:
Ben Rosenberg <ben@whack.org> [Thu, 29 May 2003 17:16:12 -0700]:
You can copy them here..
/usr/X11R6/lib/X11/fonts/truetype
Then run SuSEconfig so it can set them up for system use.
But this only works with SuSE Linux 8.2 and up. For older versions, it's a bit more tricky.
It seems to work fine for me running SuSE 8.1.
Philipp Thomas <philipp.thomas@t-link.de> さんは書きました:
Ben Rosenberg <ben@whack.org> [Thu, 29 May 2003 17:16:12 -0700]:
You can copy them here..
/usr/X11R6/lib/X11/fonts/truetype
Then run SuSEconfig so it can set them up for system use.
But this only works with SuSE Linux 8.2 and up. For older versions, it's a bit more tricky.
For SuSE Linux 8.1 you can use http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/SuSEconfig.fonts http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config.1.gz copy the above 3 files to /sbin/conf.d/SuSEconfig.fonts /usr/sbin/fonts-config /usr/share/man/man1/fonts-config.1.gz and call /usr/sbin/fonts-config --force as root. These scripts may work for SuSE Linux < 8.1 but I didn't test that. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Pada tanggal Friday 30 May 2003 07:16, Ben Rosenberg menulis:
* Adinda Praditya (duduang@softhome.net) [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..
/usr/X11R6/lib/X11/fonts/truetype
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 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? Is there any tips or an easy manual about this? Thanks, Adinda Praditya
Adinda Praditya <duduang@softhome.net> さんは書きました:
Pada tanggal Friday 30 May 2003 07:16, Ben Rosenberg menulis:
* Adinda Praditya (duduang@softhome.net) [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..
/usr/X11R6/lib/X11/fonts/truetype
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". -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (6)
-
Adinda Praditya
-
Ben Rosenberg
-
Charles Philip Chan
-
Graham Murray
-
Mike FABIAN
-
Philipp Thomas