* src/docgen/PdfDoc.py (add_photo): Encode filename.

svn: r3049
This commit is contained in:
Alex Roitman 2004-03-23 00:59:23 +00:00
parent 748ae7fcc1
commit 6543465004
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* src/docgen/LPRDoc.py: Fix colliding name. * src/docgen/LPRDoc.py: Fix colliding name.
* src/PedView.py (on_show_child_menu): Switch to id. * src/PedView.py (on_show_child_menu): Switch to id.
* src/EditPerson.py (draw_lds): Don't include main family twice. * src/EditPerson.py (draw_lds): Don't include main family twice.
* src/docgen/PdfDoc.py (add_photo): Encode filename.
2004-03-21 Don Allingham <dallingham@users.sourceforge.net> 2004-03-21 Don Allingham <dallingham@users.sourceforge.net>
* src/AddMedia.py: GenericTreeModel changes * src/AddMedia.py: GenericTreeModel changes

View File

@ -323,7 +323,7 @@ class PdfDoc(BaseDoc.BaseDoc):
act_width = x_cm/ratio act_width = x_cm/ratio
self.story.append(Spacer(1,0.5*cm)) self.story.append(Spacer(1,0.5*cm))
self.story.append(Image(name,act_width*cm,act_height*cm)) self.story.append(Image(enc(name),act_width*cm,act_height*cm))
self.story.append(Spacer(1,0.5*cm)) self.story.append(Spacer(1,0.5*cm))
self.image = 1 self.image = 1