QPdf: fix generation of the document information dictionary
The dictionary was accidentally not closed by `>>` due to a typo, which made the PDF invalid. Change-Id: Ibb8ab05cf291070d48aa067d550b5696f636e47c Pick-to: 6.5 Reviewed-by: Lars Knoll <lars@knoll.priv.no> (cherry picked from commit 6a5e2c6f9b0418f9bb8f0ac1abe39ec157c381f4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
497cc1deb8
commit
14bd53687f
@ -1783,7 +1783,7 @@ void QPdfEnginePrivate::writeInfo(const QDateTime &date)
|
|||||||
write(formattedDate);
|
write(formattedDate);
|
||||||
|
|
||||||
write("\n/Trapped /False\n"
|
write("\n/Trapped /False\n"
|
||||||
"2\n"
|
">>\n"
|
||||||
"endobj\n");
|
"endobj\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user