From owner-svn-doc-all@freebsd.org Fri Sep 9 15:33:52 2016 Return-Path: Delivered-To: svn-doc-all@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 668D4BD4B2C; Fri, 9 Sep 2016 15:33:52 +0000 (UTC) (envelope-from wblock@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 446EA762; Fri, 9 Sep 2016 15:33:52 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u89FXpXY044119; Fri, 9 Sep 2016 15:33:51 GMT (envelope-from wblock@FreeBSD.org) Received: (from wblock@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u89FXpka044118; Fri, 9 Sep 2016 15:33:51 GMT (envelope-from wblock@FreeBSD.org) Message-Id: <201609091533.u89FXpka044118@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wblock set sender to wblock@FreeBSD.org using -f From: Warren Block Date: Fri, 9 Sep 2016 15:33:51 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r49376 - 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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2016 15:33:52 -0000 Author: wblock Date: Fri Sep 9 15:33:51 2016 New Revision: 49376 URL: https://svnweb.freebsd.org/changeset/doc/49376 Log: Update anti-aliased fonts section. Patch supplied by Tim Moore , based on bug report by Brandon S Allbery . Other edits added to fix wording in old section and correct indentation in programlisting elements (content, in this case). PR: 193612 Submitted by: Brandon S Allbery Sponsored by: iXsystems Differential Revision: https://reviews.freebsd.org/D7841 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 Sep 9 14:18:36 2016 (r49375) +++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Fri Sep 9 15:33:51 2016 (r49376) @@ -1054,7 +1054,7 @@ EndSection GNOME, and Firefox. - In order to control which fonts are anti-aliased, or to + To control which fonts are anti-aliased, or to configure anti-aliasing properties, create (or edit, if it already exists) the file /usr/local/etc/fonts/local.conf. Several @@ -1078,15 +1078,15 @@ EndSection As previously stated, all fonts in /usr/local/share/fonts/ as well as ~/.fonts/ are already made available to - Xft-aware applications. If you wish to add another directory - outside of these two directory trees, add a line similar to - the following to + Xft-aware applications. To add another directory + outside of these two directory trees, add a line like + this to /usr/local/etc/fonts/local.conf: <dir>/path/to/my/fonts</dir> After adding new fonts, and especially new font - directories, you should run the following command to rebuild + directories, rebuild the font caches: &prompt.root; fc-cache -f @@ -1120,13 +1120,13 @@ EndSection spacing - Spacing for some monospaced fonts may also be + Spacing for some monospaced fonts might also be inappropriate with anti-aliasing. This seems to be an issue with KDE, in particular. One - possible fix for this is to force the spacing for such fonts - to be 100. Add the following lines: + possible fix is to force the spacing for such fonts + to be 100. Add these lines: - <match target="pattern" name="family"> + <match target="pattern" name="family"> <test qual="any" name="family"> <string>fixed</string> </test> @@ -1170,16 +1170,15 @@ EndSection </edit> </match> - Once you have finished editing - local.conf make sure you end the file + After editing + local.conf, make certain to end the file with the </fontconfig> tag. Not - doing this will cause your changes to be ignored. + doing this will cause changes to be ignored. - Finally, users can add their own settings via their - personal .fonts.conf files. To do this, - each user should simply create a - ~/.fonts.conf. This file must also be in - XML format. + Users can add personalized settings by creating their own + ~/.config/fontconfig/fonts.conf. This + file uses the same XML format described + above. LCD screen Fonts @@ -1192,7 +1191,7 @@ EndSection dramatic. To enable this, add the line somewhere in local.conf: - <match target="font"> + <match target="font"> <test qual="all" name="rgba"> <const>unknown</const> </test>