From e0775238b8b011755b9682555a8449b8a71f33eb Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 10 Sep 2021 00:05:48 +0200 Subject: Fix QPDFEFStreamObjectHelper::{get,set}Subtype The /Subtype entry that specifies the mime type of an embedded file is inside the embedded file stream dictionary directly, not it in the parameter dictionary. See Table 45 and 46 in the PDF 1.7 specification: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=112 --- examples/qtest/attach-file/output.pdf | Bin 5287 -> 5285 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'examples') diff --git a/examples/qtest/attach-file/output.pdf b/examples/qtest/attach-file/output.pdf index d41cef4f..ab09055c 100644 Binary files a/examples/qtest/attach-file/output.pdf and b/examples/qtest/attach-file/output.pdf differ -- cgit v1.2.3-54-g00ecf