This commit is contained in:
Kovid Goyal 2017-11-01 10:17:19 +05:30
parent 0518cabef6
commit 6a2f964123
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -103,7 +103,7 @@ new(PyTypeObject *type, PyObject *args, PyObject UNUSED *kwds) {
char *path;
int error, hinting, hintstyle;
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;
self = (Face *)type->tp_alloc(type, 0);