Add some information about subpixel sampling on LCD displays under

XFree86 4.X.

PR:		docs/30284
Submitted by:	Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
This commit is contained in:
Murray Stokely 2001-09-03 23:59:58 +00:00
parent cea067cf01
commit 7636daf265
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10567

View file

@ -1,7 +1,7 @@
<!-- <!--
The FreeBSD Documentation Project The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/x11/chapter.sgml,v 1.54 2001/09/03 07:12:23 murray Exp $ $FreeBSD: doc/en_US.ISO8859-1/books/handbook/x11/chapter.sgml,v 1.55 2001/09/03 23:54:59 murray Exp $
--> -->
<chapter id="x11"> <chapter id="x11">
@ -734,6 +734,20 @@ match any family == "LuciduxMono" edit family =+ "Lucidux Mono";</programl
<programlisting>includeif "~/.xftconfig"</programlisting> <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 <para>That's all; anti-aliasing should be enabled the next
time you start the X server. However, note that your programs must time you start the X server. However, note that your programs must
know how to take advantage of it. At the present time, the toolkit know how to take advantage of it. At the present time, the toolkit