shithub: freetype+ttf2subf

Download patch

ref: 4755bf7a82e01ffc6ca3d62f12fe8b3c642474ba
parent: 0fd08bdc6aed3d9e852e8a7ad19bc47e22754354
author: Werner Lemberg <[email protected]>
date: Sat Dec 16 03:58:44 EST 2006

* src/base/ftlcdfil.c (FT_Library_SetLcdFilter)
[FT_FORCE_LIGHT_LCD_FILTER]: Fix typo.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-16  Anders Kaseorg  <[email protected]>
+
+	* src/base/ftlcdfil.c (FT_Library_SetLcdFilter)
+	[FT_FORCE_LIGHT_LCD_FILTER]: Fix typo.
+
 2006-12-15  suzuki toshiya  <[email protected]>
 
 	* include/freetype/internal/services/svotval.h: Add `volatile' to 
--- a/src/base/ftlcdfil.c
+++ b/src/base/ftlcdfil.c
@@ -294,7 +294,7 @@
 
 #elif defined( FT_FORCE_LIGHT_LCD_FILTER )
 
-      memcpy( library->lcd_weights, default_filter, 5 );
+      memcpy( library->lcd_weights, light_filter, 5 );
       library->lcd_filter_func = _ft_lcd_filter_fir;
       library->lcd_extra       = 2;