[poppler] pdftops and clang-format questions

Albert Astals Cid aacid at kde.org
Wed Jul 15 21:22:27 UTC 2020


El dimecres, 15 de juliol de 2020, a les 5:25:34 CEST, William Bader va escriure:
> 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?

Yes.

> 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?

Are you really using a screen editor that only fits 150 characters?

Cheers,
  Albert

> 
> Regards, William
> 
> 






More information about the poppler mailing list