summarylogtreecommitdiffstats
path: root/freetype-2.5.5-subpixel-disable-quantization.patch
blob: 54cdbb451aca4043c06bd0eda0d86bd350cfa7a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Naur freetype-2.5.5/src/autofit/aflatin.c freetype-2.5.5.new/src/autofit/aflatin.c
--- freetype-2.5.5/src/autofit/aflatin.c	2014-11-19 16:37:26.000000000 -0500
+++ freetype-2.5.5.new/src/autofit/aflatin.c	2015-04-21 18:35:03.311094903 -0400
@@ -1973,14 +1973,14 @@
      *  We snap the width of vertical stems for the monochrome and
      *  horizontal LCD rendering targets only.
      */
-    if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD )
+    if ( mode == FT_RENDER_MODE_MONO )
       other_flags |= AF_LATIN_HINTS_HORZ_SNAP;
 
     /*
      *  We snap the width of horizontal stems for the monochrome and
      *  vertical LCD rendering targets only.
      */
-    if ( mode == FT_RENDER_MODE_MONO || mode == FT_RENDER_MODE_LCD_V )
+    if ( mode == FT_RENDER_MODE_MONO )
       other_flags |= AF_LATIN_HINTS_VERT_SNAP;
 
     /*