Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > HOw to install fonts from commandline (2008.1)
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th September 07:37
unruh
External User
 
Posts: 1
Default HOw to install fonts from commandline (2008.1)


I have a number of machines I want to upgrade. to 2008.1 and want to
automate a bunch of the installation. One portion is to install a number of
extra fonts onto the systems ( eg for Use by Mathematica). In the old xfs
days I could just put them into /etc/X11/fs/config, and restart xfs.
However 2008.1 does not use xfs. I have no idea what it uses. How do I
install the bunch of fonts into the system without going through the tedium
of running drakefont on each system?
  Reply With Quote


  sponsored links


2 20th September 07:37
david w. hodgins
External User
 
Posts: 1
Default HOw to install fonts from commandline (2008.1)


Copy the symlinks from /etc/X11/fontpath.d/ and the files that are the
targets of the symlinks.

In addition to copying the font files themselves, copy the fonts.dir and
fonts.scale, for each of the target directories, or run
cd /usr/share/fonts
find . -type d -exec mkfontscale {} \;
find . -type d -exec mkfontsdir {} \;
xset fp rehash

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote


  sponsored links


3 20th September 07:37
unruh
External User
 
Posts: 1
Default HOw to install fonts from commandline (2008.1)


"David W. Hodgins" <dwhodgins@nomail.afraid.org> writes:

Sorry I am being dense. I have a bunch of fonts in
/usr/local/mathematica2/
(subdirectories AFM,BDF, Common and Type1)
HOw to I get the system to use them without using drakfont.
/etc/X11/fontpath.d only contains old files.
  Reply With Quote
4 20th September 07:37
david w. hodgins
External User
 
Posts: 1
Default HOw to install fonts from commandline (2008.1)


Now I'm getting confused! . My understanding, which appears to be wrong, was
that X (without xfs) only uses the fonts defined in /etc/X11/fontpath.d

From looking at /etc/font/*, and /var/cache/fontconfig, it seems that there is
more to it. I'll see if I can find current font do***entation.

Do the matematica2 fonts show up currently, for selection in an application
like kword?

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666