[haiku-commits] Re: r33655 - haiku/trunk/headers/libs/freetype2/freetype/config

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 19 Oct 2009 18:14:35 +0200

On 2009-10-19 at 17:25:44 [+0200], scott mc <scottmc2@xxxxxxxxx> wrote:
> Author: scottmc
> Date: 2009-10-19 17:25:44 +0200 (Mon, 19 Oct 2009) New Revision: 33655
> Changeset: http://dev.haiku-os.org/changeset/33655/haiku
> 
> Modified:
>    haiku/trunk/headers/libs/freetype2/freetype/config/ftoption.h
> Log:
> Second try, this time with the right define in the second case.
> 
> 
> Modified: haiku/trunk/headers/libs/freetype2/freetype/config/ftoption.h 
> ===================================================================
> --- haiku/trunk/headers/libs/freetype2/freetype/config/ftoption.h    
> 2009-10-19 15:13:32 UTC (rev 33654)
> +++ haiku/trunk/headers/libs/freetype2/freetype/config/ftoption.h    
> 2009-10-19 15:25:44 UTC (rev 33655)
> @@ -497,7 +497,7 @@
>    /*   define it for certain configurations only.                        
>      */ /*                                                                
>           */
>  #if HAIKU_INCLUDE_PATENTED_CODE
> -#    define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
> +#    define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
>  #endif

Note that according to a post from David Turner from two years ago, the 
patent on this ran out on Oct 09 this year.

For the subpixel rendering, I believe we should enable that as well, since 
we do not actually use the Freetype filtering (but our own, based on an ide 
I had myself). We just want Freetype to render glyphs three times as wide, 
which I don't think is patentable...

That should give us nice text rendering in the next alpha.

Best regards,
-Stephan

Other related posts: