Sandro Mani

Results 119 comments of Sandro Mani
trafficstars

1. Valid point 2. Just click on the hint-icon next to the combobox 3. I don't know how do reliably detect whether complex scripts are involved.

Ah apropos, I see now that the windows build is missing some icons, hence why you i.e. can't see the hint icon.

Size: that's the price of QPrinter. Nothing I can do about that. QPrinter internally hard-codes the image compression method to JPEG@94% quality.

> Please see http://doc.qt.io/qt-5/qimagewriter.html Sure, but QPrinter does not use QImageWriter

That enum has no effect since it is overridden by the resolution the user chooses.

For monochrome you really need CCITT/FAX encoding to have a reasonably small file size, but as mentioned, it is not doable with QPrinter.

> The rendering in pdf preview and pdf file is correct. Overlapping character problem can be fixed by reducing the font size %. However, when I copy the text from...

PoDoFo can definitely be fixed, I'll test it on windows this evening and see what went wrong, I'll post a fresh test build as soon as I fixed things. It...

About the PoDoFo locking issue: isn't it just that you have the output PDF open in a PDF viewer or such which is locking the file?

Are you creating a new file when exporting or overwriting an existing one? If the latter, are you sure that file isn't open in another application?