PDF plotter: fix missing data that prevent Adobe Acrobat to open these PDF

(The issue is due to a recent change (Commit 0268ed6d) in code)
This commit is contained in:
jean-pierre charras
2025-05-14 17:31:20 +02:00
parent 085af89381
commit d3256c3430
+6
View File
@@ -907,8 +907,14 @@ void PDF_PLOTTER::ClosePage()
"<<\n"
"/Type /Page\n"
"/Parent {} 0 R\n"
"/Resources <<\n"
" /ProcSet [/PDF /Text /ImageC /ImageB]\n"
" /Font {} 0 R\n"
" /XObject {} 0 R >>\n"
"/MediaBox [0 0 {:g} {:g}]\n",
m_pageTreeHandle,
m_fontResDictHandle,
m_imgResDictHandle,
psPaperSize.x,
psPaperSize.y );