summarylogtreecommitdiffstats
path: root/like-ultimate5.patch
blob: 0af17ceb7be8d3a8184e300592ef877fece9e31c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --color -U 7 -r -Z -B include/freetype/config/ftoption.h include/freetype/config/ftoption.h
--- include/freetype/config/ftoption.h	2018-01-03 19:00:18.000000000 +0100
+++ include/freetype/config/ftoption.h	2018-01-12 21:03:10.576887258 +0100
@@ -114,15 +114,15 @@
   /*                                                                       */
   /* Note that this feature is covered by several Microsoft patents        */
   /* and should not be activated in any default build of the library.      */
   /* When this macro is not defined, FreeType offers alternative LCD       */
   /* rendering technology that produces excellent output without LCD       */
   /* filtering.                                                            */
   /*                                                                       */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+ #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING


   /*************************************************************************/
   /*                                                                       */
   /* Many compilers provide a non-ANSI 64-bit data type that can be used   */
   /* by FreeType to speed up some computations.  However, this will create */
   /* some problems when compiling the library in strict ANSI mode.         */
diff --color -U 7 -r -Z -B src/base/ftlcdfil.c src/base/ftlcdfil.c
--- src/base/ftlcdfil.c	2018-01-03 19:00:18.000000000 +0100
+++ src/base/ftlcdfil.c	2018-01-12 20:58:45.183540775 +0100
@@ -293,15 +293,15 @@


   FT_EXPORT_DEF( FT_Error )
   FT_Library_SetLcdFilter( FT_Library    library,
                            FT_LcdFilter  filter )
   {
     static const FT_LcdFiveTapFilter  default_weights =
-                   { 0x08, 0x4d, 0x56, 0x4d, 0x08 };
+                   { 0x1f, 0x47, 0x6B, 0x47, 0x1f };
     static const FT_LcdFiveTapFilter  light_weights =
                    { 0x00, 0x55, 0x56, 0x55, 0x00 };


     if ( !library )
       return FT_THROW( Invalid_Library_Handle );