Re: [Tkinter-discuss] Text to postscript

2019-06-18 Thread Michael Lange
Hi, On Mon, 17 Jun 2019 12:16:49 + Vasilis Vlachoudis wrote: > Hi all, > > Canvas has this nice method to convert it to postscript, which is > perfect for printing. Is there something similar for Text(), I could > not find anything internal but if there is something external to > convert to

Re: [Tkinter-discuss] Text to postscript

2019-06-18 Thread Vasilis Vlachoudis
Thanks Michael, not exactly what I was looking for. I am investigating how difficult is to write my own ps exporter, based on the Canvas postscript source code. Vasilis From: Tkinter-discuss [tkinter-discuss-bounces+vasilis.vlachoudis=cern...@python.org

Re: [Tkinter-discuss] Text to postscript

2019-06-18 Thread Paul Malherbe
Title: signature Hi You could use fpdf to convert text to pdf as per: import fpdf   text = """The earliest known appearance of the phrase is from The Boston Journal. In an article titled "Current Notes" in the

Re: [Tkinter-discuss] Text to postscript

2019-06-18 Thread Michael Lange
Hi, On Tue, 18 Jun 2019 15:57:03 +0200 Paul Malherbe wrote: > You could use fpdf to convert text to pdf as per: (...) as I understood (or imagined?) the OP wants to keep some sort of formatting within the Text widget, like tags with different fonts or embedded images etc. If it's only about "p

Re: [Tkinter-discuss] Text to postscript

2019-06-18 Thread Michael Lange
Hi, On Tue, 18 Jun 2019 10:09:08 + Vasilis Vlachoudis wrote: > Thanks Michael, > > not exactly what I was looking for. oh yes, I thought so :) > I am investigating how difficult is to write my own ps exporter, > based on the Canvas postscript source code. This would surely be awesome! In