...
This commit is contained in:
parent
0518cabef6
commit
6a2f964123
@ -103,7 +103,7 @@ new(PyTypeObject *type, PyObject *args, PyObject UNUSED *kwds) {
|
|||||||
char *path;
|
char *path;
|
||||||
int error, hinting, hintstyle;
|
int error, hinting, hintstyle;
|
||||||
long index;
|
long index;
|
||||||
unsigned int size_in_pts, xdpi, ydpi;
|
float size_in_pts, xdpi, ydpi;
|
||||||
if (!PyArg_ParseTuple(args, "sliifff", &path, &index, &hinting, &hintstyle, &size_in_pts, &xdpi, &ydpi)) return NULL;
|
if (!PyArg_ParseTuple(args, "sliifff", &path, &index, &hinting, &hintstyle, &size_in_pts, &xdpi, &ydpi)) return NULL;
|
||||||
|
|
||||||
self = (Face *)type->tp_alloc(type, 0);
|
self = (Face *)type->tp_alloc(type, 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user