PIDDLE bug?
Frank.Derville
Frank.Derville at wanadoo.fr
Sat May 8 08:25:11 EDT 1999
Hello all,
I have download piddlePIL for evaluation and I have run the piddlePIL.test()
(I am using python 1.5.1 and PIL 1.0b1)
I have two problems running it :
1) In piddle.py there is an error raised in canvas.drawFigure : the function
extend is called on a list. I have never heard of such function
and have not even seen it in the python 1.5.2 doc.
Here is a modificated code that works but is not very elegant :
for tuple in partList:
op = tuple[0]
args = list(tuple[1:])
if op == figureLine:
pointList=pointList+[args[:2], args[2:]]
elif op == figureArc:
print args
pointList=pointList+self.arcPoints(args[0],args[1],args[2],args[3],args[4],a
rgs[5])
2) It does not find the test pilfont which is not included in the
distribution and I could not make the included fonts work (pb in PIL). I
have seen many messages in this formum about pb with PIL fonts but nowhere
have I found one that works well with PIL 1.0b1 could someone send me maybe
just one?
Thank you by advance
Frank
More information about the Python-list
mailing list