ref: 3c783c1b70ca6357f3520d4c0462f08d1b7e1a65
parent: 18f35ed15af5f63732794c15c1b77c5f9da7e036
author: Infinality <[email protected]>
date: Tue May 21 17:03:00 EDT 2013
[truetype] Formatting and an additional subpixel tweak.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2013-05-22 Infinality <[email protected]>
+ [truetype] Formatting and an additional subpixel tweak.
+
+ * src/truetype/ttinterp.c (Ins_SHPIX): Formatting fix.
+ * src/truetype/ttsubpix.c (SKIP_NONPIXEL_Y_MOVES_Rules):
+ Revert previous modification for Verdana clones.
+
+2013-05-22 Infinality <[email protected]>
+
[truetype] Adjust subpixel zp2 moves and tweak rules.
These modifications fix thin diagonal stems in some legacy fonts.
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -6124,9 +6124,9 @@
B2 = CUR.zp2.cur[point].y;
/* reverse any disallowed moves */
- if ( ( B1 & 63 ) == 0 &&
- ( B2 & 63 ) != 0 &&
- B1 != B2 )
+ if ( ( B1 & 63 ) == 0 &&
+ ( B2 & 63 ) != 0 &&
+ B1 != B2 )
MOVE_Zp2_Point( point, 0, -dy, TRUE );
}
}
--- a/src/truetype/ttsubpix.c
+++ b/src/truetype/ttsubpix.c
@@ -322,7 +322,7 @@
/* Cyrillic small letter I */
{ "Legacy Sans Fonts", 0, "", 0 },
/* Fix artifacts with some Regular & Bold */
- { "Verdana Clones", 17, "", 0 },
+ { "Verdana Clones", 0, "", 0 },
};