Ticket #1988: freetype-2.2.1_patented_fonts.patch

File freetype-2.2.1_patented_fonts.patch, 1.0 KB (added by Mirko Roller, 15 years ago)

unlock patented font rendering in freeetype-2.2.1 for hugh quality improvement

  • include/freetype/config/ftoption.h

    old new  
    436436  /*   Do not #undef this macro here, since the build system might         */
    437437  /*   define it for certain configurations only.                          */
    438438  /*                                                                       */
    439 /* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
     439#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
    440440
    441441
    442442  /*************************************************************************/
     
    448448  /* FT_PARAM_TAG_UNPATENTED_HINTING; or when the debug hook               */
    449449  /* FT_DEBUG_HOOK_UNPATENTED_HINTING is globally activated.               */
    450450  /*                                                                       */
    451 #define TT_CONFIG_OPTION_UNPATENTED_HINTING
     451#undef TT_CONFIG_OPTION_UNPATENTED_HINTING
    452452
    453453
    454454  /*************************************************************************/