Re: Integrating Windows TTF fonts with GNU/Linux - HOWTO
| From: | CK Raju | Date: | Mon, 04 Feb 2002 20:17:22 +0000 |
| Subject: | Re: Integrating Windows TTF fonts with GNU/Linux - HOWTO | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16507@lists.php.net to get a copy of this message | ||
> Friends,
> For all those who wanted to see fonts of local language, already
> available on Windows platform on Linux machine.
>
> Here's how I integrated them on GNU/Linux as root.
>
> Step 1 :
> Created a new directory 'TrueType' under /usr/X11R6/lib/X11/fonts.
>
> Step 2 :
> Added the pathname to the configuration file (XF86Config) wherever it
> is
> (under /etc or /)
>
> Step 3 :
> Copied all ttf fonts taken from Windows fonts directory to the newly
> created
> TrueType directory under GNU/Linux.
>
> Step 4 :
> (Here's where most of the documentation on them went wrong.)
>
> Under /usr/X11R6/lib/X11/fonts/TrueType,
> # ttmkfdir -m 100 -o fonts.scale
>
> Step 5 :
> # tac fonts.scale > fonts.dir
>
> Step 6 :
> Edit the file fonts.dir and go to the last line where a decimal number
> would
> be listed. Cut it from there and paste the number as the first line on
> this
> file and then save. (Remove it and make it the first line)
>
> Step 7 :
> # cat fonts.dir > fonts.scale
>
> Step 8 :
> Restart X server.
>
> SAY CHEERS and GET GOING !!!
>
> RE-DEDICATE YOURSELF TO A CAUSE. PROMOTE GNU/LINUX.
>
> Regards to all,
> CK Raju,
> Kerala Institute of Local Administration, Thrissur, INDIA