summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2018-11-10 15:39:19 -0500
committerAlexei Podtelezhnikov <apodtele@gmail.com>2018-11-10 15:39:19 -0500
commit78db9eecff412608bcfb56af281a4cd3b51b2cd4 (patch)
treeb4be7e3e8683a0bc9f8388ab070fdbe5f61404c3 /src
parent58e48e92877f873248b84435e0c2350dab208bfa (diff)
downloadfreetype2-78db9eecff412608bcfb56af281a4cd3b51b2cd4.tar.gz
[smooth] Placeholder only for library-enabled LCD filtering.
* src/smooth/ftsmooth.c (ft_smooth_init): Add disabled `FT_Library_SetLcdFilter' call.
Diffstat (limited to 'src')
-rw-r--r--src/smooth/ftsmooth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c
index 41aca31df..cdae25391 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 );