* src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
svn: r4077
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
			
		||||
2005-02-22 Alex Roitman  <shura@alex.neuro.umn.edu>
 | 
			
		||||
	* configure.in: Bump up the version.
 | 
			
		||||
	* src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding.
 | 
			
		||||
 | 
			
		||||
2005-02-21  Don Allingham  <dallingham@users.sourceforge.net>
 | 
			
		||||
	* Release: Version 1.1.90 "Successful encyclopedia salesman" released.
 | 
			
		||||
 
 | 
			
		||||
@@ -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 = "<font size=%d><super>" % (self.my_para.get_font().get_size()-2)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user