Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.32, 3.0.3 PDFBox
Description
While trying to answer the attached SO question, I noticed that the content stream had /P /Prop1 BDC instead of /P << /MCID 0 >> BDC. While I was able to fix the PDF so that the PAC test succeeded, PDF-XChange (which allows to see the structure tree in the free version) wasn't able to work with it. Thus we should favor using MCID directly instead of resource entries when possible, this will also make files smaller and easier to debug. I'm also adding a simplified method that passes the MCID directly.