aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/x11
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2016-01-29 19:22:52 +0000
committerJason Helfman <jgh@FreeBSD.org>2016-01-29 19:22:52 +0000
commit1daedb63987a747c58dac07e3b43abbe6c9740fa (patch)
tree3ee7f4083dbf066ed21334354155b1f9823eeee6 /en_US.ISO8859-1/books/handbook/x11
parentae232c4440cc5546b745193c4dddd56c59a7798e (diff)
downloaddoc-1daedb63987a747c58dac07e3b43abbe6c9740fa.tar.gz
doc-1daedb63987a747c58dac07e3b43abbe6c9740fa.zip
- address deleted port
PR: 206078 Submitted by: nick@zalutskiy.com Approved by: wblock (mentor) Differential Revision: https://reviews.freebsd.org/D5113
Notes
Notes: svn path=/head/; revision=48115
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/x11')
-rw-r--r--en_US.ISO8859-1/books/handbook/x11/chapter.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/en_US.ISO8859-1/books/handbook/x11/chapter.xml b/en_US.ISO8859-1/books/handbook/x11/chapter.xml
index 6d68b4f4f0..1b2349d78c 100644
--- a/en_US.ISO8859-1/books/handbook/x11/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/x11/chapter.xml
@@ -971,15 +971,17 @@ EndSection</programlisting>
&apple; &mac;; they must be in &unix;/&ms-dos;/&windows;
format for use by <application>&xorg;</application>. Once the
files have been copied into this directory, use
- <application>ttmkfdir</application> to create a
+ <application>mkfontdir</application> to create a
<filename>fonts.dir</filename>, so that the X font renderer
knows that these new files have been installed.
- <command>ttmkfdir</command> is available from the FreeBSD
- Ports Collection as
- <package>x11-fonts/ttmkfdir</package>.</para>
+ <command>mkfontdir</command> can be installed as a package:</para>
+
+ <screen>&prompt.root; <userinput>pkg install mkfontdir</userinput></screen>
+
+ <para>Then create an index of X font files in a directory:</para>
<screen>&prompt.root; <userinput>cd /usr/local/share/fonts/TrueType</userinput>
-&prompt.root; <userinput>ttmkfdir -o fonts.dir</userinput></screen>
+&prompt.root; <userinput>mkfontdir</userinput></screen>
<para>Now add the &truetype; directory to the font path. This
is just the same as described in <xref