QScintilla/Exporters/ExporterPDF.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 12
1d8dd9706f46
equal deleted inserted replaced
5:fa319c01b604 6:52e8c820d0dd
417 417
418 # get magnification value to add to default screen font size 418 # get magnification value to add to default screen font size
419 self.pr.fontSize = Preferences.getEditorExporter("PDF/Magnification") 419 self.pr.fontSize = Preferences.getEditorExporter("PDF/Magnification")
420 420
421 # set font family according to face name 421 # set font family according to face name
422 fontName = unicode(Preferences.getEditorExporter("PDF/Font")) 422 fontName = Preferences.getEditorExporter("PDF/Font")
423 self.pr.fontSet = PDF_FONT_DEFAULT 423 self.pr.fontSet = PDF_FONT_DEFAULT
424 if fontName == "Courier": 424 if fontName == "Courier":
425 self.pr.fontSet = 0 425 self.pr.fontSet = 0
426 elif fontName == "Helvetica": 426 elif fontName == "Helvetica":
427 self.pr.fontSet = 1 427 self.pr.fontSet = 1

eric ide

mercurial