Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76a51fb commit 3793aaaCopy full SHA for 3793aaa
1 file changed
src/ft2font.cpp
@@ -1257,8 +1257,8 @@ FT2Font::draw_glyph_to_bitmap(const Py::Tuple & args) {
1257
1258
double xd = Py::Float(args[1]);
1259
double yd = Py::Float(args[2]);
1260
- long x = (long)mpl_round(xd);
1261
- long y = (long)mpl_round(yd);
+ long x = (long)xd;
+ long y = (long)yd;
1262
FT_Vector sub_offset;
1263
sub_offset.x = int((xd - (double)x) * 64.0);
1264
sub_offset.y = int((yd - (double)y) * 64.0);
0 commit comments