From owner-freebsd-doc Mon Sep 3 5:30: 9 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D2BAD37B408 for ; Mon, 3 Sep 2001 05:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f83CU1360810; Mon, 3 Sep 2001 05:30:01 -0700 (PDT) (envelope-from gnats) Received: from alix.lpt.ens.fr (alix.lpt.ens.fr [129.199.122.76]) by hub.freebsd.org (Postfix) with SMTP id 4097837B409 for ; Mon, 3 Sep 2001 05:28:55 -0700 (PDT) Received: (qmail 1387 invoked by uid 1001); 3 Sep 2001 12:28:52 -0000 Message-Id: <20010903122852.1386.qmail@alix.lpt.ens.fr> Date: 3 Sep 2001 12:28:52 -0000 From: Rahul Siddharthan Reply-To: Rahul Siddharthan To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/30284: addition to X11 Fonts section of handbook Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30284 >Category: docs >Synopsis: addition to X11 Fonts section of handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 03 05:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Rahul Siddharthan >Release: FreeBSD 4.4-PRERELEASE i386 >Organization: >Environment: >Description: I came across this nugget on slashdot, on how to enable subpixel sampling on LCD displays under XFree86 4.x -- so I thought it merits a mention in the handbook. Note, however, that the slashdot post mentioned that Microsoft has a patent on this technology (I seem to remember that's true), which may be why XFree86 does not particularly advertise it; while there is plenty of prior art and it should be possible to overturn the patent, nobody wants to go to court... so I'm not sure whether the handbook should in fact include this. Here's a patch anyway. >How-To-Repeat: >Fix: --- chapter.sgml Mon Sep 3 09:12:23 2001 +++ chapter.sgml Mon Sep 3 14:21:59 2001 @@ -733,6 +733,20 @@ files. To do this, add a last line: includeif "~/.xftconfig" + + One last point: if you are using an LCD screen, you may + want to enable sub-pixel sampling. 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 your + XftConfig file + + match edit rgba=rgb; + + (depending on what sort of display you have, you may + need to change that last word from ``rgb'' to ``bgr'', ``vrgb'' + or ``vbgr'': experiment and see which works best.) + That's all; anti-aliasing should be enabled the next time you start the X server. However, note that your programs must >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message