hi Siddharth & Kiran,
fished out a mail from my archive. it's about fonts installation on
Linux. let's see if it helps.

for any further info, write to him directly at:
Sarang Lakare <[EMAIL PROTECTED]>

Kiran:
How to check whether "executable bit of ttf file is turned off" and how
to turn it on. i am having about 15 fonts covering all indian languages
working in win95. How to make them work in Linux?

---------------------
Sarang Lakare wrote:
> 
> NOTE : This will work only for Red Hat 6.0 or above.. (basically an xfs 
> which has support for true type fonts)
> 
> STPE 1: Become root. Create a dir for true type fonts
> /usr/X11R6/lib/X11/fonts/TrueType would be a good option. copy all true
> type fonts
> you want to have in this directory.
> 
> STEP 2: Go inside the above directory and type
>         /usr/sbin/ttmkfdir > fonts.dir
> 
> STEP 3: Add the new font directory to xfs's search path with chkfontpath
> --add. For instance:
> /usr/sbin/chkfontpath --add /usr/X11R6/lib/X11/fonts/TrueType
> 
> STEP 4: Restart Font Server by typing :
> /etc/rc.d/init.d/xfs restart
> 
> and you are done!!
> 
> HOW TO VERIFY: You can verify the new fonts exist by running xfontsel or
> kde's font manager, or in Netscape by going to Edit/Preferences/Fonts. (If
> you can't get Netscape to use the new fonts, make sure you have it set to
> not override the fonts picked by web pages.)
> 
> TO ADD MORE FONTS LATER : Just copy the font file to your True Type font
> directory (from STEP 1), and rereun STEP 2, and restart the font server
> with the command
> /etc/rc.d/init.d/xfs restart
> 
> TO GET NEW FONTS TO OVERRIDE OLD FONTS : If you want your new fonts to
> override the old fonts, you'll need to rearrange the order of lines in the
> 'catalog' line of the file managed by chkfontpath, /etc/X11/fs/config. For
> instance, it might contain
> 
> catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
>         /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/misc,
>         /usr/X11R6/lib/X11/fonts/Type1,
>         /usr/X11R6/lib/X11/fonts/Speedo,
>         /usr/X11R6/lib/X11/fonts/75dpi,
>         /dos/c/Windows/fonts
> To get the TrueType fonts in /dos/c/Windows/fonts to be used instead of
> other fonts, move it ahead of the other directories:
> 
> catalogue = /dos/c/Windows/fonts ,
>         /usr/X11R6/lib/X11/fonts/misc:unscaled,
>         /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/misc,
>         /usr/X11R6/lib/X11/fonts/Type1,
>         /usr/X11R6/lib/X11/fonts/Speedo,
>         /usr/X11R6/lib/X11/fonts/75dpi
> and restart the font server with the command /etc/rc.d/init.d/xfs restart
> 
> Lemme know if anyone successeds by following these precise 4 steps..
> 
> -sarang
> 
> --
> ====================================================
> Sarang Lakare
> PhD student
> Department of Computer Science
> SUNY at Stony Brook
----------------------

Kiran Jonnalagadda wrote:
> 
> Siddharth Dalal wrote:
> >
> > I want to use my windows fonts dir in Linux. So I found the xfs configfile
> > which is /etc/X11/fs/config (AsfarasIremember) and I found a whole list of
> > directories in the file on  a line called catalogue=dir1, dir2 and so on..
> >
> > I added my windows fonts dir /mnt/c/windows/fonts as the last entry on the
> > list. However I still cant see the fonts in font lister. Any ideas what I
> > can do?
> 
> Someone tells me that your TTF files must have executable bits turned
> off. That means you can't link to your Windows partition. I can't verify
> this, since I've managed to get TTF fonts working for me only once, and
> therefore don't plan to reformat my disk ever again.


To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to