summarylogtreecommitdiffstats
path: root/like-ultimate5.patch
blob: b43b905a2c74b10c80ba896d247f7c14c58ec032 (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 -U 7 -r -Z -B orig/include/freetype/config/ftoption.h mod/include/freetype/config/ftoption.h
--- orig/include/freetype/config/ftoption.h	2019-02-23 10:09:06.000000000 +0100
+++ mod/include/freetype/config/ftoption.h	2019-03-15 23:15:20.990994130 +0100
@@ -122,15 +122,15 @@
    * explicitly set up LCD filtering.
    *
    * 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 -U 7 -r -Z -B orig/src/base/ftlcdfil.c mod/src/base/ftlcdfil.c
--- orig/src/base/ftlcdfil.c	2019-02-23 10:06:07.000000000 +0100
+++ mod/src/base/ftlcdfil.c	2019-03-15 23:16:20.003565521 +0100
@@ -307,15 +307,15 @@
   /* documentation in ftlcdfil.h */
 
   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 );