Page MenuHomeFreeBSD

D5113.id12829.diff
No OneTemporary

D5113.id12829.diff

Index: handbook/x11/chapter.xml
===================================================================
--- handbook/x11/chapter.xml
+++ handbook/x11/chapter.xml
@@ -971,15 +971,17 @@
&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

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 7:44 PM (6 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31793734
Default Alt Text
D5113.id12829.diff (1 KB)

Event Timeline