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 01ce972 commit e2a49e0Copy full SHA for e2a49e0
1 file changed
src/_macosx.m
@@ -2572,7 +2572,9 @@ static CGRect _find_enclosing_rect(CGPoint points[3])
2572
PyErr_SetString(PyExc_ValueError, "Could not load font");
2573
}
2574
#ifndef COMPILING_FOR_10_5
2575
- CGContextSelectFont(cr, name, size, kCGEncodingMacRoman);
+ else {
2576
+ CGContextSelectFont(cr, name, size, kCGEncodingMacRoman);
2577
+ }
2578
#endif
2579
#if PY3K
2580
Py_XDECREF(ascii);
0 commit comments