From owner-svn-doc-head@freebsd.org Fri Jan 29 19:22:54 2016 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0863EA7260D; Fri, 29 Jan 2016 19:22:54 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC3501764; Fri, 29 Jan 2016 19:22:53 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0TJMqrE013517; Fri, 29 Jan 2016 19:22:52 GMT (envelope-from jgh@FreeBSD.org) Received: (from jgh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0TJMqng013516; Fri, 29 Jan 2016 19:22:52 GMT (envelope-from jgh@FreeBSD.org) Message-Id: <201601291922.u0TJMqng013516@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jgh set sender to jgh@FreeBSD.org using -f From: Jason Helfman Date: Fri, 29 Jan 2016 19:22:52 +0000 (UTC) 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 X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 19:22:54 -0000 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 &apple; &mac;; they must be in &unix;/&ms-dos;/&windows; format for use by &xorg;. Once the files have been copied into this directory, use - ttmkfdir to create a + mkfontdir to create a fonts.dir, so that the X font renderer knows that these new files have been installed. - ttmkfdir is available from the FreeBSD - Ports Collection as - x11-fonts/ttmkfdir. + mkfontdir can be installed as a package: + + &prompt.root; pkg install mkfontdir + + Then create an index of X font files in a directory: &prompt.root; cd /usr/local/share/fonts/TrueType -&prompt.root; ttmkfdir -o fonts.dir +&prompt.root; mkfontdir Now add the &truetype; directory to the font path. This is just the same as described in