QScintilla/Exporters/ExporterPDF.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 12
1d8dd9706f46
diff -r fa319c01b604 -r 52e8c820d0dd QScintilla/Exporters/ExporterPDF.py
--- a/QScintilla/Exporters/ExporterPDF.py	Mon Dec 28 17:05:28 2009 +0000
+++ b/QScintilla/Exporters/ExporterPDF.py	Mon Dec 28 18:31:37 2009 +0000
@@ -419,7 +419,7 @@
             self.pr.fontSize = Preferences.getEditorExporter("PDF/Magnification")
             
             # set font family according to face name
-            fontName = unicode(Preferences.getEditorExporter("PDF/Font"))
+            fontName = Preferences.getEditorExporter("PDF/Font")
             self.pr.fontSet = PDF_FONT_DEFAULT
             if fontName == "Courier":
                 self.pr.fontSet = 0

eric ide

mercurial