[poppler] pdftops and clang-format questions

William Bader williambader at hotmail.com
Wed Jul 15 03:25:34 UTC 2020


1/ I have a PDF where pdftops -level3 produces a PS that messes up ghostscript ps2pdf.
I am pretty sure that it is a ghostscript issue, but is there any way to tell?
The generated PS views without errors in gs.
The problem still happens when I build poppler without ZLIB support, and it still happens when I edit the PS and disable changes to overprinting with /opm { pop } def.
That doesn't leave many level 3 features, maybe just fonts and shaded fills.
I posted the files and details at https://bugs.ghostscript.com/show_bug.cgi?id=702556

2/ The reformat with clang-format made some very long lines. Was that intentional?
For example, the declaration of Gfx::drawForm() at line 4696 of Gfx.cc in the 0.90.1 tarball is 222 characters long.
Could you reduce it to something in the 120 to 150 range?

Regards, William

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20200715/45bc8b24/attachment.htm>


More information about the poppler mailing list