aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2021-09-10 00:05:48 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2021-09-10 16:02:24 +0200
commite0775238b8b011755b9682555a8449b8a71f33eb (patch)
tree4f4d57c276159426ff7b6b4b5a9dc99fcb3d8774 /examples
parentd2e7f2a384788c6af77aea79e2f6bc8b5b0b4527 (diff)
downloadqpdf-e0775238b8b011755b9682555a8449b8a71f33eb.tar.zst
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
Diffstat (limited to 'examples')
-rw-r--r--examples/qtest/attach-file/output.pdfbin5287 -> 5285 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/examples/qtest/attach-file/output.pdf b/examples/qtest/attach-file/output.pdf
index d41cef4f..ab09055c 100644
--- a/examples/qtest/attach-file/output.pdf
+++ b/examples/qtest/attach-file/output.pdf
Binary files differ