Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 14:54:01 GMT
From:      Norbert Papke <npapke@acm.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/139603: Clarify subpixel smoothing for fonts in Handbook
Message-ID:  <200910141454.n9EEs16C026441@www.freebsd.org>
Resent-Message-ID: <200910141500.n9EF088a004854@freefall.freebsd.org>

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

>Number:         139603
>Category:       docs
>Synopsis:       Clarify subpixel smoothing for fonts in Handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 14 15:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Norbert Papke
>Release:        7.2-STABLE
>Organization:
>Environment:
>Description:
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.

I am unsure whether the port makefile's patent warning should be mentioned.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- 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	14 Oct 2009 14:51:49 -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>
          &lt;match target="font"&gt;


>Release-Note:
>Audit-Trail:
>Unformatted:



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