[haiku-development] Re: Building freetype within Haiku

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 11 Jun 2012 12:29:09 -0400

On Mon, Jun 11, 2012 at 11:44 AM, scottmc <scottmc2@xxxxxxxxx> wrote:
>
> If you can provide me a patch for freetype to enable this I can create
> a matching bep to create the freetype package that has it enabled, and
> could make it available via an optionalpackage if it's alright with
> others.

Yeah here is the patch for freetype 2.4.9 (though it will probably
work on other versions):

--- freetype-2.4.9-original/include/freetype/config/ftoption.h
2011-07-20 00:46:15.047710208 -0400
+++ freetype-2.4.9/include/freetype/config/ftoption.h   2012-06-10
23:33:42.734789632 -0400
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
   /* This is done to allow FreeType clients to run unmodified, forcing     */
   /* them to display normal gray-level anti-aliased glyphs.                */
   /*                                                                       */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING


   /*************************************************************************/

I also have some app_server code changes originally from Claudio Leite
which need some clean-up and committing for this to work properly.

-- 
Regards,
Ryan

Other related posts: