From rsidd@lpt.ens.fr  Mon Sep  3 05:28:56 2001
Return-Path: <rsidd@lpt.ens.fr>
Received: from alix.lpt.ens.fr (alix.lpt.ens.fr [129.199.122.76])
	by hub.freebsd.org (Postfix) with SMTP id 4097837B409
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <rsidd@physics.iisc.ernet.in>
Reply-To: Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: addition to X11 Fonts section of handbook
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30284
>Category:       docs
>Synopsis:       addition to X11 Fonts section of handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 03 05:30:00 PDT 2001
>Closed-Date:    Mon Sep 3 17:00:02 PDT 2001
>Last-Modified:  Mon Sep 03 17:00:49 PDT 2001
>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:</para>
 
        <programlisting>includeif  "~/.xftconfig"</programlisting>
+
+       <para>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</para>
+      
+       <programlisting>match edit rgba=rgb;</programlisting>
+      
+       <para>(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.)</para>
+
  
        <para>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:
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Mon Sep 3 17:00:02 PDT 2001 
State-Changed-Why:  
Your update has been committed, thanks!  It may take up to 24 hours 
before this reaches the web site.  Any chance you can write up 
something about the other recent /. story on anti-aliased fonts with 
GNOME? 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30284 
>Unformatted:
