This commit is contained in:
gferg 2001-02-23 21:17:31 +00:00
parent 17c4e76f5c
commit 3baff7a86e
1 changed files with 35 additions and 2 deletions

View File

@ -3,6 +3,7 @@
<!--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Changelog:
230201: More Info!
210201: Incorporating legal advice.
210201: Some Corrections.
130201: First release.
@ -13,7 +14,7 @@ Changelog:
<title>TrueType Fonts with XFree86 4.0.x mini-HOWTO
<author>Bartek Kostrzewa, <tt/bartek@pt.lu/
<date>0.0.3, 2001-02-21
<date>0.0.4, 2001-02-23
<abstract>
This mini-HOWTO describes how to use TrueType (*.ttf) fonts with
@ -54,6 +55,7 @@ major installation and backups at regular intervals.
<sect1>News
<p>
<itemize>
<item>0.0.4: Some content added, explaining how to add fontpath's to the XF86Config.
<item>0.0.3: Due to possible legal problems some modifications were done.
<item>0.0.2: This release cleans up some errors I wrote about Netscape font scaling.
<item>0.0.1: Initial release.
@ -67,7 +69,8 @@ This document can be found at:
I'd like to thank Bear Giles for his Debian TTF howto which brought
me on the right path :o).
Of course, credit should also go to the XFree86 crew for the enormous effort of maintaining XFree86, and Joerg Pommnitz for writing <tt>ttmkfdir</tt>.
Of course, credit should also go to the XFree86 crew for the enormous
effort of maintaining XFree86, and Joerg Pommnitz for writing <tt>ttmkfdir</tt>.
Also I'd like to pass a BIG big thank you to the LDP for building and
maintaining a network of helping hands which already guided many
@ -104,6 +107,36 @@ root at the command line:
<item><tt>mkfontdir</tt>
</itemize>
<p>
Now if you have a working installation of Windows on one of your partitions,
you must use the fonts directly from there, copying them to a directory of
your Linux partition is considered *illegal*. First read up on how to get
your windows partition detected and working in Linux (most distributions do
that at installation time, and by default), then as root do the following:
<itemize>
<item><tt>cd /etc/X11</tt>
<item><tt>your-favourite-editor XF86Config</tt> In some X
distributions this file is used with a number added to it (for
example: <tt>XF86Config.4</tt>). You will have to find out which file
your X11R6 uses. You can do this by typing: <tt>less /var/log/XFree86*</tt>
and then instead edit the file stated in the log.
<item>Now, in the editor find the section <tt>Files</tt> and the lines
with <tt>FontPath</tt>, just add
<tt>FontPath &quot;/yourwinpartition/windows/fonts/&quot;</tt>
at the bottom of this list.
(<tt>yourwinpartition</tt> must be replaced with the mount point of
your windows partition)
<item><tt>cd /winpartition/windows/fonts</tt>
<item><tt>ttmkfdir &gt; fonts.scale</tt>
<item><tt>mkfontdir</tt>
</itemize>
This will make all the fonts on your Windows partition work correctly in X.
<p>
There you go. You will now have all of your TrueType fonts working. If
you want to add fonts, just move/copy those [*.ttf files] into the