Indeed, you are correct. This is a typo. Good catch! Thanks.
-Dave On 7/17/2014 3:26 AM, maks wrote:
cf2_glyphpath_computeOffset() /* third quadrant, -x -y */ if ( -dx > -2 * dy ) { /* -x */ *x = 0; *y = 2 * glyphpath->yOffset; } else if ( -dy > -2 * dx ) { /* -y */ *x = -glyphpath->xOffset; *y = glyphpath->xOffset; // <=== } else { /* -x -y */ *x = FT_MulFix( cf2_floatToFixed( -0.7 ), glyphpath->xOffset ); *y = FT_MulFix( cf2_floatToFixed( 1.0 + 0.7 ), glyphpath->yOffset ); } Maybe it should be "*y = glyphpath->yOffset;" ? _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel .
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel