eric7/QScintilla/Exporters/ExporterPDF.py

branch
eric7
changeset 8366
2a9f5153c438
parent 8358
144a6b854f70
child 8881
54e42bc2437a
equal deleted inserted replaced
8365:cde9bde830ea 8366:2a9f5153c438
555 self.pr.fontSize += fontSize 555 self.pr.fontSize += fontSize
556 else: 556 else:
557 self.pr.fontSize = PDF_FONTSIZE_DEFAULT 557 self.pr.fontSize = PDF_FONTSIZE_DEFAULT
558 558
559 with EricOverrideCursor(), open(filename, "w", encoding="cp1250", 559 with EricOverrideCursor(), open(filename, "w", encoding="cp1250",
560 errors="backslashreplace") as f: 560 errors="backslashreplace") as f:
561 # save file in win ansi using cp1250 561 # save file in win ansi using cp1250
562 try: 562 try:
563 # initialise PDF rendering 563 # initialise PDF rendering
564 ot = PDFObjectTracker(f) 564 ot = PDFObjectTracker(f)
565 self.pr.oT = ot 565 self.pr.oT = ot

eric ide

mercurial