Descriptionfreetype/truetype: fix rounding for negative numbers to match the C
Freetype implementation.
The spec is the "Order of rounding operations" part of
https://developer.apple.com/fonts/TTRefMan/RM02/Chap2.html#rounding
but it wasn't exactly clear to me what "the negative round value
closest to zero" was: if the phase is 1/4, was that value -1/4 or
-3/4? Anyway, the Go code now follows the C code, and code trumps
documentation.
Patch Set 1 #Patch Set 2 : diff -r 3ebd703fd260 https://code.google.com/p/freetype-go #Patch Set 3 : diff -r 3ebd703fd260 https://code.google.com/p/freetype-go #Patch Set 4 : diff -r 3ebd703fd260 https://code.google.com/p/freetype-go #
MessagesTotal messages: 3
|