freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] More rounding issues


From: Alexei Podtelezhnikov
Subject: [ft-devel] More rounding issues
Date: Thu, 16 Oct 2014 13:27:41 -0400

Werner,

Admittedly, I enjoy reading those Apple docs too much. So I found
other problems:

Here
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM02/Chap2.html#rounding_operations
the phase is added back *before* checking if rounding changed the
sign. MS is in agreement here. Freetype does it *after* in both
Round_Super's. Also Round_To_Half grid is not supposed to return 0
even if the sign changed, because it is not half-grid. It's supposed
to return either 32 or -32. Freetype's Round_To_Half_Grid is likely
wrong here.

Best,
Alexei



reply via email to

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