From owner-freebsd-doc@FreeBSD.ORG Sun Oct 11 20:40:15 2009 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC3CC106566B for ; Sun, 11 Oct 2009 20:40:15 +0000 (UTC) (envelope-from npapke@acm.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7A4FA8FC0A for ; Sun, 11 Oct 2009 20:40:15 +0000 (UTC) Received: from pd4ml1so-ssvc.prod.shaw.ca ([10.0.141.141]) by pd3mo1so-svcs.prod.shaw.ca with ESMTP; 11 Oct 2009 14:11:10 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=tRUHZ4E6IZ0A:10 a=VF9RaR9bft6c8SsOr3WyFg==:17 a=N54-gffFAAAA:8 a=lvbMJxvVAAAA:8 a=888V39Y18rfsfwstKFcA:9 a=GEa_gG11wTGyQUhWmzwA:7 a=hD-jPgBBnn8XDps7VuSMOMlire4A:4 a=nAPXUAfsBmEA:10 Received: from unknown (HELO proven.lan) ([24.85.241.34]) by pd4ml1so-dmz.prod.shaw.ca with ESMTP; 11 Oct 2009 14:11:10 -0600 Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.3/8.14.3) with ESMTP id n9BKBArp090641 for ; Sun, 11 Oct 2009 13:11:10 -0700 (PDT) (envelope-from npapke@acm.org) Received: from localhost (localhost [[UNIX: localhost]]) by proven.lan (8.14.3/8.14.3/Submit) id n9BKB9QL090640 for freebsd-doc@freebsd.org; Sun, 11 Oct 2009 13:11:09 -0700 (PDT) (envelope-from npapke@acm.org) X-Authentication-Warning: proven.lan: npapke set sender to npapke@acm.org using -f From: Norbert Papke Organization: Archaeological Filing To: freebsd-doc@freebsd.org Date: Sun, 11 Oct 2009 13:11:09 -0700 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910111311.09824.npapke@acm.org> Subject: Clarify subpixel smoothing for fonts in Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 20:40:15 -0000 In section 5.5.3, the handbook explains how to improve the quality of fonts on LCD monitors by enabling subpixel smoothing. However, the section does not draw attention to the fact that the print/freetype2 port must be compiled with non-default options to allow this. The following patch adds a brief explanation. I am unsure whether the port makefile's patent warning should be mentioned. --- en_US.ISO8859-1/books/handbook/x11/chapter.sgml 2 Oct 2009 08:32:07 -0000 1.195 +++ en_US.ISO8859-1/books/handbook/x11/chapter.sgml 11 Oct 2009 20:02:06 -0000 @@ -1078,8 +1078,17 @@ One last point: with an LCD screen, sub-pixel sampling may be desired. This basically treats the (horizontally separated) red, green and blue components separately to improve the horizontal - resolution; the results can be dramatic. To enable this, add the - line somewhere in the local.conf file: + resolution; the results can be dramatic. To enable this, compile the + print/freetype2 port with + LCD filtering enabled. + + + &prompt.root; cd /usr/ports/print/freetype2 + &prompt.root; make -DWITH_LCD_FILTERING clean install + + + Then add the following lines to the local.conf + file: <match target="font"> Cheers, -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field