Commit 78db9eecff412608bcfb56af281a4cd3b51b2cd4

Alexei Podtelezhnikov 2018-11-10T15:39:19

[smooth] Placeholder only for library-enabled LCD filtering. * src/smooth/ftsmooth.c (ft_smooth_init): Add disabled `FT_Library_SetLcdFilter' call.

diff --git a/ChangeLog b/ChangeLog
index 3b7c47c..2673152 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-11-10  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
+	[smooth] Placeholder only for library-enabled LCD filtering.
+
+	* src/smooth/ftsmooth.c (ft_smooth_init): Add disabled
+	`FT_Library_SetLcdFilter' call.
+
 2018-11-09  Young Xiao  <yangx92@hotmail.com>
 
 	[psaux] Add safety guard (#54985).
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c
index 41aca31..cdae253 100644
--- a/src/smooth/ftsmooth.c
+++ b/src/smooth/ftsmooth.c
@@ -44,6 +44,10 @@
     sub[2].x = 21;
     sub[2].y = 0;
 
+#elif 0   /* or else, once ClearType patents expire */
+
+    FT_Library_SetLcdFilter( render->root.library, FT_LCD_FILTER_DEFAULT );
+
 #endif
 
     render->clazz->raster_class->raster_reset( render->raster, NULL, 0 );