Date: Sun, 11 Oct 2009 13:11:09 -0700 From: Norbert Papke <npapke@acm.org> To: freebsd-doc@freebsd.org Subject: Clarify subpixel smoothing for fonts in Handbook Message-ID: <200910111311.09824.npapke@acm.org>
index | next in thread | raw e-mail
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.
The following patch adds a brief explanation. I am unsure whether the port
makefile's patent warning should be mentioned.
--- 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 11 Oct 2009 20:02:06 -0000
@@ -1078,8 +1078,17 @@
<para>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 <filename>local.conf</filename> file:</para>
+ resolution; the results can be dramatic. To enable this, compile the
+ <filename role="package">print/freetype2</filename> port with
+ LCD filtering enabled.</para>
+
+ <screen>
+ &prompt.root; <userinput>cd /usr/ports/print/freetype2</userinput>
+ &prompt.root; <userinput>make -DWITH_LCD_FILTERING clean install</userinput>
+ </screen>
+
+ <para>Then add the following lines to the <filename>local.conf</filename>
+ file:</para>
<programlisting>
<match target="font">
Cheers,
-- Norbert Papke.
npapke@acm.org
http://saveournet.ca
Protecting your Internet's level playing field
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910111311.09824.npapke>
