mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add flag to qpdf, to preserve PDF/A compliance
This commit is contained in:
parent
0e1da3fd0d
commit
072d0a9dab
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module.exports = OutputFileOptimiser = {
|
|||
callback = function (error) {}
|
||||
}
|
||||
const tmpOutput = dst + '.opt'
|
||||
const args = ['--linearize', src, tmpOutput]
|
||||
const args = ['--linearize', '--newline-before-endstream', src, tmpOutput]
|
||||
logger.log({ args }, 'running qpdf command')
|
||||
|
||||
const timer = new Metrics.Timer('qpdf')
|
||||
|
|
Loading…
Reference in a new issue