From owner-freebsd-doc@FreeBSD.ORG Wed May 14 14:30:06 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 243AD37B401 for ; Wed, 14 May 2003 14:30:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F46A43FBD for ; Wed, 14 May 2003 14:30:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4ELU4Up069993 for ; Wed, 14 May 2003 14:30:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4ELU43F069991; Wed, 14 May 2003 14:30:04 -0700 (PDT) Resent-Date: Wed, 14 May 2003 14:30:04 -0700 (PDT) Resent-Message-Id: <200305142130.h4ELU43F069991@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Marcus Clarke Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC2DF37B401 for ; Wed, 14 May 2003 14:24:41 -0700 (PDT) Received: from shumai.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3F1B43F3F for ; Wed, 14 May 2003 14:24:40 -0700 (PDT) (envelope-from marcus@shumai.marcuscom.com) Received: from shumai.marcuscom.com (localhost.marcuscom.com [127.0.0.1]) by shumai.marcuscom.com (8.12.9/8.12.9) with ESMTP id h4ELOcrA034477 for ; Wed, 14 May 2003 17:24:38 -0400 (EDT) (envelope-from marcus@shumai.marcuscom.com) Received: (from marcus@localhost) by shumai.marcuscom.com (8.12.9/8.12.9/Submit) id h4ELOc7B034476; Wed, 14 May 2003 17:24:38 -0400 (EDT) Message-Id: <200305142124.h4ELOc7B034476@shumai.marcuscom.com> Date: Wed, 14 May 2003 17:24:38 -0400 (EDT) From: Joe Marcus Clarke To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/52250: [PATCH] Another anti-alias update for the handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joe Marcus Clarke List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 21:30:06 -0000 >Number: 52250 >Category: docs >Synopsis: [PATCH] Another anti-alias update for the handbook >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 14 14:30:04 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Joe Marcus Clarke >Release: FreeBSD 4.8-STABLE i386 >Organization: MarcusCom, Inc. >Environment: System: FreeBSD shumai.marcuscom.com 4.8-STABLE FreeBSD 4.8-STABLE #10: Sun May 11 17:00:16 EDT 2003 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386 >Description: This is another update to the anti-alias fonts section of the handbook to cover fc-cache as well as a corrupt Helvetica fix. It also adds some missing end tags to some of the local.conf XML. >How-To-Repeat: >Fix: --- chapter.sgml.diff begins here --- Index: chapter.sgml =================================================================== RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/x11/chapter.sgml,v retrieving revision 1.116 diff -u -r1.116 chapter.sgml --- chapter.sgml 11 May 2003 10:08:59 -0000 1.116 +++ chapter.sgml 11 May 2003 18:04:51 -0000 @@ -759,6 +759,12 @@ <dir>/path/to/my/fonts</dir> + After adding new fonts, and especially new font directories, + you should run the following command to rebuild the font + caches: + + &prompt.root; fc-cache -f + Anti-aliasing makes borders slightly fuzzy, which makes very small text more readable and removes staircases from large text, but can cause eyestrain if applied to normal text. To @@ -786,6 +792,7 @@ <match target="pattern" name="family"> <test qual="any" name="family"> <string>fixed</string> + </test> <edit name="family" mode="assign"> <string>mono</string> </edit> @@ -793,6 +800,7 @@ <match target="pattern" name="family"> <test qual="any" name="family"> <string>console</string> + </test> <edit name="family" mode="assign"> <string>mono</string> </edit> @@ -804,10 +812,27 @@ <match target="pattern" name="family"> <test qual="any" name="family"> <string>mono</string> + </test> <edit name="spacing" mode="assign"> <int>100</int> </edit> </match> + + Certain fonts, such as Helvetica, may have a problem when + anti-aliased. Usually this manifests itself as a font that + seems cut in half vertically. At worst, it may cause applications + such as Mozilla to crash. To avoid this, + consider adding the following to local.conf: + + + <match target="pattern" name="family"> + <test qual="any" name="family"> + <string>Helvetica</string> + </test> + <edit name="family" mode="assign"> + <string>sans-serif</string> + </edit> + </match> Once you have finished editing local.conf make sure you end the file --- chapter.sgml.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: