Author: krejzi
Date: Sun May 19 07:26:51 2013
New Revision: 11181

Log:
Enable some Freetype options which are not enabled by default.

Modified:
   trunk/BOOK/general/graphlib/freetype2.xml

Modified: trunk/BOOK/general/graphlib/freetype2.xml
==============================================================================
--- trunk/BOOK/general/graphlib/freetype2.xml   Sun May 19 03:07:40 2013        
(r11180)
+++ trunk/BOOK/general/graphlib/freetype2.xml   Sun May 19 07:26:51 2013        
(r11181)
@@ -122,8 +122,12 @@
       commands:
     </para>
 
-<screen><userinput>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:' \
-          include/freetype/config/ftoption.h &amp;&amp;
+<screen><userinput>sed -e "s@FT_CFF_HINTING_FREETYPE@FT_CFF_HINTING_ADOBE@" \
+    -i src/cff/cffobjs.c &amp;&amp;
+sed -e "/AUX.*.gxvalid/s@^# @@" -e "/AUX.*.otvalid/s@^# @@" \
+    -i modules.cfg &amp;&amp;
+sed -e "/#.*.SUBPIXEL/s@/\* @@" -e "/#.*.SUBPIXEL/s@ \*/@@" \
+    -i include/freetype/config/ftoption.h &amp;&amp;
 ./configure --prefix=/usr --disable-static &amp;&amp;
 make</userinput></screen>
 
@@ -145,11 +149,11 @@
     <title>Command Explanations</title>
 
     <para>
-      <command>sed -i -r 's:.*(#.*SUBPIXEL.*) .*:\1:'
-      include/freetype/config/ftoption.h</command>:
-      This command enables LCD optimized rendering. This option results in 
improved
-      rendering of fonts, but may have patent restrictions. Be sure to read the
-      <literal>'Other patent issues'</literal> part of
+      <command>sed -e ...</command>: First command enables Adobe CFF Engine,
+      second command enables GX/AAT and OpenType table validation and third
+      command enables Subpixel Rendering and Subpixel Hinting in order to
+      improve font rendering. Note that Subpixel Rendering has patent issues.
+      Be sure to read the <literal>'Other patent issues'</literal> part of
       <ulink url="http://www.freetype.org/patents.html"/> before enabling this
       option.
     </para>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to