Use PropertyFile for fonts
This commit is contained in:
parent
ef104af13d
commit
7e792ef761
|
@ -3727,7 +3727,7 @@ class _ShapeString(_DraftObject):
|
|||
def __init__(self, obj):
|
||||
_DraftObject.__init__(self,obj,"ShapeString")
|
||||
obj.addProperty("App::PropertyString","String","Base","Text string")
|
||||
obj.addProperty("App::PropertyString","FontFile","Base","Font file name")
|
||||
obj.addProperty("App::PropertyFile","FontFile","Base","Font file name")
|
||||
obj.addProperty("App::PropertyFloat","Size","Base","Height of text")
|
||||
obj.addProperty("App::PropertyInteger","Tracking","Base",
|
||||
"Inter-character spacing")
|
||||
|
|
|
@ -329,7 +329,6 @@ static PyObject * makeWireString(PyObject *self, PyObject *args)
|
|||
float height;
|
||||
int track = 0;
|
||||
|
||||
const char* text;
|
||||
Py_UNICODE *unichars;
|
||||
Py_ssize_t pysize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user