简体   繁体   中英

How to render PDF using poppler in pyqt4 or wxpython?

My goal is to create a pdf viewer that can select a text in the viewer.

is it possible? i'm only experienced using wxpython for deleveloping gui application. I just heard poppler can support rendering pdf, but i did not found any snippet or example. please help.

If you are looking for how to create a wxPython PDF viewer, I've found a couple of examples. The first one uses Poppler as you mentioned in conjunction with wxPython:

It's a pretty old example, so I don't know how well it works now. The other one I found uses PyMuPDF and fitz and was published this year (2016):

If you happen to be on Windows, wxPython comes with an ActiveX wrapper around Adobe's reader. You can read more about it here:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM