diff options
author | Tobias Koenig <tobias.koenig@kdab.com> | 2017-02-14 10:11:19 +0100 |
---|---|---|
committer | Tobias Koenig <tobias.koenig@kdab.com> | 2017-03-28 07:02:05 +0000 |
commit | 6c32927f8cf226b8158dd25f4b92a6853dadb8b6 (patch) | |
tree | 7fcd1dcfa76c05d59fb6f115d133308dfe2922e2 /src/3rdparty/icc/qt_attribution.json | |
parent | 3398d9d40cb0dae2dc2a1a4f7dc3b4b9cceae903 (diff) |
Improve PDF/A-1b support in QPdfWriter
Add new enum QPrinter::PdfVersion to switch QPdfWriter
into PDF/A-1b mode. In that mode
- meta data are embedded in XMP format
- a color profile for sRGB is embedded and an OutputIntent defined
- the ID key is added to the document trailer dictionary
- a CIDSet entry is added to the font descriptor
- transparency is removed from pens, brushes and images
Change-Id: Ia8a24d83609b239e716aefc1ba05f07320dbd290
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty/icc/qt_attribution.json')
-rw-r--r-- | src/3rdparty/icc/qt_attribution.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/3rdparty/icc/qt_attribution.json b/src/3rdparty/icc/qt_attribution.json new file mode 100644 index 0000000000..7a1c813522 --- /dev/null +++ b/src/3rdparty/icc/qt_attribution.json @@ -0,0 +1,15 @@ +[ + { + "Id": "icc-sRGB-color-profile", + "Name": "sRGB color profile icc file", + "QDocModule": "qtgui", + "QtUsage": "Used in Qt Gui (Embedded into PDF/A-1b files generated by QPrinter/QPdfWriter).", + "Files": "sRGB2014.icc", + + "Description": "An ICC color profile for PDF/A-1b compatible PDF files.", + "LicenseId": "ICC License", + "License": "International Color Consortium License", + "LicenseFile": "LICENSE.txt", + "Copyright": "Copyright International Color Consortium, 2015" + } +] |