diff --git a/ChangeLog b/ChangeLog index 4c25c44ae..756099d99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * src/docgen/LPRDoc.py: Fix colliding name. * src/PedView.py (on_show_child_menu): Switch to id. * src/EditPerson.py (draw_lds): Don't include main family twice. + * src/docgen/PdfDoc.py (add_photo): Encode filename. 2004-03-21 Don Allingham * src/AddMedia.py: GenericTreeModel changes diff --git a/src/docgen/PdfDoc.py b/src/docgen/PdfDoc.py index 459592474..00c9add59 100644 --- a/src/docgen/PdfDoc.py +++ b/src/docgen/PdfDoc.py @@ -323,7 +323,7 @@ class PdfDoc(BaseDoc.BaseDoc): act_width = x_cm/ratio 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.image = 1