X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpython%2Ftags.c;h=455e87fc932cfab4bf7b5561ce52b16ddfedffa7;hp=7fe35a441b7b709c691c3cc8c0d0574337162b7b;hb=a61b92b4ac72cd15ee0f3165f2e7a2f5ac00f156;hpb=922f9285d96ff230c5c6a7017ac7246a0cdf6163 diff --git a/lib/python/tags.c b/lib/python/tags.c index 7fe35a4..455e87f 100644 --- a/lib/python/tags.c +++ b/lib/python/tags.c @@ -49,7 +49,7 @@ static PyObject* f_DefineFont(PyObject* self, PyObject* args, PyObject* kwargs) if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|s", kwlist, &filename)) return NULL; - font = swf_LoadFont(filename); + font = swf_LoadFont(filename, 0); if(!font) { PyErr_SetString(PyExc_Exception, setError("Could not load %s", filename)); return NULL;