Skip site navigation (1)Skip section navigation (2)
Date:      3 Sep 2001 12:28:52 -0000
From:      Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/30284: addition to X11 Fonts section of handbook
Message-ID:  <20010903122852.1386.qmail@alix.lpt.ens.fr>

next in thread | raw e-mail | index | archive | help

>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:</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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010903122852.1386.qmail>