Date: Fri, 29 Jan 2016 19:22:52 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48115 - head/en_US.ISO8859-1/books/handbook/x11 Message-ID: <201601291922.u0TJMqng013516@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Fri Jan 29 19:22:52 2016 New Revision: 48115 URL: https://svnweb.freebsd.org/changeset/doc/48115 Log: - address deleted port PR: 206078 Submitted by: nick@zalutskiy.com Approved by: wblock (mentor) Differential Revision: https://reviews.freebsd.org/D5113 Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Fri Jan 29 19:19:09 2016 (r48114) +++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Fri Jan 29 19:22:52 2016 (r48115) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601291922.u0TJMqng013516>