From 4bc1ddd66767e974a54974c3c81aaad18dd4a0b6 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 22 Feb 2005 18:38:35 +0000 Subject: [PATCH] * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding. svn: r4077 --- gramps2/ChangeLog | 1 + gramps2/src/docgen/PdfDoc.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index ce761736c..560b0ae1e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,5 +1,6 @@ 2005-02-22 Alex Roitman * configure.in: Bump up the version. + * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding. 2005-02-21 Don Allingham * Release: Version 1.1.90 "Successful encyclopedia salesman" released. diff --git a/gramps2/src/docgen/PdfDoc.py b/gramps2/src/docgen/PdfDoc.py index 6db367115..6ee923d11 100644 --- a/gramps2/src/docgen/PdfDoc.py +++ b/gramps2/src/docgen/PdfDoc.py @@ -342,6 +342,7 @@ class PdfDoc(BaseDoc.BaseDoc): self.story.append(Spacer(1,0.5*cm)) def write_note(self,text,format,style_name): + text = enc(text) current_para = self.pdfstyles[style_name] self.my_para = self.style_list[style_name] self.super = "" % (self.my_para.get_font().get_size()-2)