How do you debug PDF files?

后端 未结 7 2019
抹茶落季
抹茶落季 2020-12-14 01:29

Many times I create a PDF either programmatically and there might be a problem with it, e.g. some specific letter might no show up well or I might have encoding issues etc.<

7条回答
  •  难免孤独
    2020-12-14 01:55

    This is what I usually do in Linux:

    • Install qpdf package and run qpdf --qdf --object-streams=disable orig.pdf decoded.pdf . Now you can open decoded.pdf in a text editor and see the pdf source.

    • Also I installed PDFedit on linux which has a gui program which let you inspect all the pdf structure, from the comfort of a graphical interface.

提交回复
热议问题