diff options
author | Giuseppe D'Angelo <[email protected]> | 2024-07-11 00:59:12 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <[email protected]> | 2024-07-12 00:51:36 +0200 |
commit | 1b80d03e0f1d2498c98c11f5b5dca8a6b1b29fd8 (patch) | |
tree | f132cefd6a521135c71910d5b4cccd983c0ffade | |
parent | d1f6d2258809ed7e2d7aa50de3b6d6f472cf1bd8 (diff) |
PDF: fix the value of the Trapped element in the XMP metadata
XMP 8.2.1.1 says that a boolean shall be "False", not "false".
Change-Id: Ifa4d1038fe481389e2c3914548382ee9c3c88e66
Pick-to: 6.8
Reviewed-by: Albert Astals Cid <[email protected]>
-rw-r--r-- | src/gui/painting/qpdf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp index fac5ba1f81c..935d99e4a68 100644 --- a/src/gui/painting/qpdf.cpp +++ b/src/gui/painting/qpdf.cpp @@ -1852,7 +1852,7 @@ int QPdfEnginePrivate::writeXmpDocumentMetaData(const QDateTime &date) w.writeStartElement(rdfNS, "Description"); w.writeAttribute(rdfNS, "about", ""); w.writeAttribute(pdfNS, "Producer", producer); - w.writeAttribute(pdfNS, "Trapped", "false"); + w.writeAttribute(pdfNS, "Trapped", "False"); w.writeEndElement(); // XMP |