diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-11 16:50:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-11 17:38:47 +0200 |
commit | 37bdf1659ddb11d8706289511623cc7c8b0d264b (patch) | |
tree | 0d64c5e845864fc8e3c02c59c6e3eff3b0772cf2 /swext | |
parent | 5722b815fa34422595407e83029fb41583f13894 (diff) |
Related: tdf#106972 vcl PDF import: downgrade PDF >= 1.5
There are two problems with these newer PDF versions:
- the current PDF export code doesn't know how to roundtrip such PDF
images (needs work on both the import and export side)
- upgrading the default PDF export version would upset readers who can't
parse PDF >= 1.5
So instead of raising the default PDF export version, for now just be
conservative and depend on pdfium to downgrade the PDF image version to
1.4 if it would be higher.
Given that this modifies the input of the graphic filter this also needs
changes in the ODF export, so that the filter result will contain that
downgraded data, not the original one.
Change-Id: I1efa97af8110e9a6ee3e8a7339bcc7d70457cfb0
Reviewed-on: https://gerrit.libreoffice.org/36413
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'swext')
0 files changed, 0 insertions, 0 deletions