Skip to content

win32u: Fixed the sign error in the conversion from FIXED to FT_Fixed

If the FT_MULFIX_ASSEMBLER macro is not used during the compilation of FreeType,
unsigned extension to FT_Fixed will cause FT_MulFix to produce incorrect results.

The usage of the attached code is for compilation with GCC on x86_64.
Toggling the FT_MULFIX_ASSEMBLER macro will output different results.
demo: main.c
Signed-off-by: YeshunYe yeyeshun@uniontech.com

Edited by Yeshun Ye

Merge request reports

Loading