thanks a lot sridhar

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Shridhar Daithankar
Sent: 25 September 2000 12:21
To: [EMAIL PROTECTED]
Subject: Re: [LIH] FW: SAMBA, Printing, XFree86 4.0, (oh and i have to
integrate that with win2k) :)


Hi

Perhaps this little script will help you. I developed it to deploy ttfs, It
will
be on my web site once it goes live...

----------------------------------------------------------------------------
--------------------------------

#!/bin/sh
#This script adds true type fonts to your system.

echo "This script automates the process of adding true type fonts your
system"

if [ -d /usr/share/fonts/ttf ]; then
 echo "Font directory already exists..."
else
 echo "Making font directory..."
  mkdir /usr/share/fonts/ttf
fi

echo "Copying from windows font directory...."
cd /usr/share/fonts/ttf
cp /c:/windows/fonts/*.ttf .

echo "Makinfg ttf fonts..."
ttmkfdir > fonts.scale
mkfontdir
#chkfontpath --list

echo "Adding font directory to fonts path...."
/usr/sbin/chkfontpath --add /usr/share/fonts/ttf
#/usr/sbin/chkfontpath --list

echo "Forcing a re-read to X server...."
xset fp+ rehash

/etc/rc.d/init.d/xfs restart
xset fp+ rehash

echo "All done..."

----------------------------------------------------------------------------
--------------------------

Bye
 Shridhar

Aniruddha Shankar wrote:

> and last but not least, i'm stuck with a TTF problem here.... the gist is
> that in netscape, the fonts look really yucky. of course, installing an X
> windows true type font server was a good idea - and i did that. only thing
> was that i dont know how to select them fonts in Gnome - which, unlike KDE
> doesnt come with its own FONTMANAGER. Anyone got any experience with a
> fonts.alias file?
>


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to