shithub: freetype+ttf2subf

Download patch

ref: 78db9eecff412608bcfb56af281a4cd3b51b2cd4
parent: 58e48e92877f873248b84435e0c2350dab208bfa
author: Alexei Podtelezhnikov <[email protected]>
date: Sat Nov 10 10:39:19 EST 2018

[smooth] Placeholder only for library-enabled LCD filtering.

* src/smooth/ftsmooth.c (ft_smooth_init): Add disabled
`FT_Library_SetLcdFilter' call.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-11-10  Alexei Podtelezhnikov  <[email protected]>
+
+	[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  <[email protected]>
 
 	[psaux] Add safety guard (#54985).
--- 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 );