From owner-freebsd-doc@FreeBSD.ORG Wed Oct 14 15:00:08 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2DA91065698 for ; Wed, 14 Oct 2009 15:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FFFC8FC24 for ; Wed, 14 Oct 2009 15:00:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9EF08mo004855 for ; Wed, 14 Oct 2009 15:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9EF088a004854; Wed, 14 Oct 2009 15:00:08 GMT (envelope-from gnats) Resent-Date: Wed, 14 Oct 2009 15:00:08 GMT Resent-Message-Id: <200910141500.n9EF088a004854@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, Norbert Papke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313EE1065679 for ; Wed, 14 Oct 2009 14:54:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 200E68FC16 for ; Wed, 14 Oct 2009 14:54:02 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9EEs1KS026442 for ; Wed, 14 Oct 2009 14:54:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9EEs16C026441; Wed, 14 Oct 2009 14:54:01 GMT (envelope-from nobody) Message-Id: <200910141454.n9EEs16C026441@www.freebsd.org> Date: Wed, 14 Oct 2009 14:54:01 GMT From: Norbert Papke To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/139603: 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: Wed, 14 Oct 2009 15:00:08 -0000 >Number: 139603 >Category: docs >Synopsis: Clarify subpixel smoothing for fonts in Handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 14 15:00:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Norbert Papke >Release: 7.2-STABLE >Organization: >Environment: >Description: 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. I am unsure whether the port makefile's patent warning should be mentioned. >How-To-Repeat: >Fix: Patch attached with submission follows: --- 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 14 Oct 2009 14:51:49 -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"> >Release-Note: >Audit-Trail: >Unformatted: