* src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.

svn: r4077
This commit is contained in:
Alex Roitman 2005-02-22 18:38:35 +00:00
parent 7983883e11
commit bd020c830a
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
2005-02-22 Alex Roitman <shura@alex.neuro.umn.edu> 2005-02-22 Alex Roitman <shura@alex.neuro.umn.edu>
* configure.in: Bump up the version. * configure.in: Bump up the version.
* src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
2005-02-21 Don Allingham <dallingham@users.sourceforge.net> 2005-02-21 Don Allingham <dallingham@users.sourceforge.net>
* Release: Version 1.1.90 "Successful encyclopedia salesman" released. * Release: Version 1.1.90 "Successful encyclopedia salesman" released.

View File

@ -342,6 +342,7 @@ class PdfDoc(BaseDoc.BaseDoc):
self.story.append(Spacer(1,0.5*cm)) self.story.append(Spacer(1,0.5*cm))
def write_note(self,text,format,style_name): def write_note(self,text,format,style_name):
text = enc(text)
current_para = self.pdfstyles[style_name] current_para = self.pdfstyles[style_name]
self.my_para = self.style_list[style_name] self.my_para = self.style_list[style_name]
self.super = "<font size=%d><super>" % (self.my_para.get_font().get_size()-2) self.super = "<font size=%d><super>" % (self.my_para.get_font().get_size()-2)