git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
darwin fixes
[swftools.git]
/
lib
/
python
/
tags.c
diff --git
a/lib/python/tags.c
b/lib/python/tags.c
index
7fe35a4
..
2cd47c9
100644
(file)
--- 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;
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;
if(!font) {
PyErr_SetString(PyExc_Exception, setError("Could not load %s", filename));
return NULL;
@@
-186,7
+186,7
@@
static PyObject* po_create(PyObject* self, PyObject* args, PyObject* kwargs,char
po->depth = depth;
po->clipdepth = clipdepth;
po->ratio = ratio;
po->depth = depth;
po->clipdepth = clipdepth;
po->ratio = ratio;
- po->name = (unsigned char*)name;
+ po->name = name;
po->move = move;
if(clipdepth) po->clipdepth = clipdepth;
if(matrix) po->matrix = matrix_getMatrix(matrix);
po->move = move;
if(clipdepth) po->clipdepth = clipdepth;
if(matrix) po->matrix = matrix_getMatrix(matrix);