Saikat Chakrabarti
unread,Nov 25, 2009, 8:55:04 PM11/25/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pisa XHTML2PDF Support
Sorry to keeps starting a new thread - my previous messages have not
yet been moderated, so not sure how I can stay on that thread. I
traced down the problem that I was having in my last two threads to
this line in pisa_tags.py:
img.drawWidth *= img.pisaZoom
this is line 297. I printed out img.drawWidth, and it shows up as
"129px". Makes sense that this error would happen if it then is
trying to do math on this string. Seems like pisa is not properly
parsing values inside style elements? How does this ever work? Am I
just not using some options or something that I should be using? I'll
try to hack in a fix for now, but just thought I'd give a heads up.
Thanks,
Saikat