summarylogtreecommitdiffstats
path: root/freetype-2.5.5-subpixel-disable-quantization.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freetype-2.5.5-subpixel-disable-quantization.patch')
-rw-r--r--freetype-2.5.5-subpixel-disable-quantization.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/freetype-2.5.5-subpixel-disable-quantization.patch b/freetype-2.5.5-subpixel-disable-quantization.patch
new file mode 100644
index 000000000000..54cdbb451aca
--- /dev/null
+++ b/freetype-2.5.5-subpixel-disable-quantization.patch
@@ -0,0 +1,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;
+
+ /*