freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] SROUND vs S45ROUND


From: Alexei Podtelezhnikov
Subject: [ft-devel] SROUND vs S45ROUND
Date: Wed, 15 Oct 2014 12:15:52 -0400

Hi all,

According to 
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM05/Chap5.html#S45ROUND
The grid period tables of the 45-degree S45ROUND is actually sqr(2)
*larger* than that of SROUND. You might get different impression from
reading more cryptic Microsoft files. So shouldn't we have this?

 #define DO_SROUND                                \
     SET_SuperRound( 0x4000, args[0] );           \
     CUR.GS.round_state = TT_Round_Super;         \
     CUR.func_round = (TT_Round_Func)Round_Super;


 #define DO_S45ROUND                                 \
-    SET_SuperRound( 0x2D41, args[0] );              \
+    SET_SuperRound( 0x5A82, args[0] );              \
     CUR.GS.round_state = TT_Round_Super_45;         \
     CUR.func_round = (TT_Round_Func)Round_Super_45;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]