PDF: emit the Trapped entry in the document info dictionary
Since we don't have any API to specify trapping info, mark the document as untrapped. (PDF/X-4 requires the entry, and requires it to be true or false. The default would be "unknown" but that's not allowed by X-4.) This work has been kindly sponsored by the QGIS project (https://qgis.org/). Change-Id: Id8c3a4356ba5bb74877473549e55ccbb6839b07e Reviewed-by: Albert Astals Cid <aacid@kde.org>
This commit is contained in:
parent
5a2b222619
commit
a9ba0e9634
@ -1741,6 +1741,7 @@ void QPdfEnginePrivate::writeInfo()
|
|||||||
xprintf("+%02d'%02d')\n", hours , mins);
|
xprintf("+%02d'%02d')\n", hours , mins);
|
||||||
else
|
else
|
||||||
xprintf("Z)\n");
|
xprintf("Z)\n");
|
||||||
|
xprintf("/Trapped /False\n");
|
||||||
xprintf(">>\n"
|
xprintf(">>\n"
|
||||||
"endobj\n");
|
"endobj\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user