On Sat, Aug 16, 2014 at 8:14 AM, Alexei Podtelezhnikov
<[email protected]> wrote:
> Under FT_LONG64 FT_DivFix truncates the result at 32 bits, see
> ftcalc.c:271. Interestingly, FT_MulFix and FT_MulDiv do not do that,
> although it also is possible for them to exceed 32 bits in the result.
> Which behavior would be correct? IMHO a function specified as FT_Long
> should not truncate at 32.

Ok, there was never a good reason to truncate at 32 bits. It was
introduced as a compiler warning fix:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=1b3a0014e2ebad50efb6a0c1d7948a3c7ffc21a2

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to