New Features
localeon/forms/libreoffice/convert(#1737). A BCP 47 tag such asen-AUorde-DEformats the dates, numbers and currencies that follow the reader's locale, such as Excel's short date, and sets the page size of a document that defines none. Content with its own language keeps it. Without the field, conversions come out as before, whatever an earlier request asked for. Thanks @robmueller.compressStreamsonoptimize. On by default, it compresses the streams a producer left uncompressed, such as page content or fonts. XMP metadata stays readable.
Bug Fixes
- Smaller
remediateoutput (gotenberg/litho#5). The stage appended its repairs to the PDF, so the file kept every object it replaced: the original page content next to the tagged one atPDF/A-*aandPDF/UA, which was written uncompressed. It now rewrites the file and compresses what it writes. A signed PDF still gets its repairs appended, which keeps the signature. Thanks @KingSora. - Annotation colours left by a PDF/A-1 and PDF/UA-1 remediation. With a profile pair, the remediation could stop before removing the annotation colours a non-RGB PDF/A-1 output intent forbids.
Chore
- Updated litho to v0.0.16, lok to v0.0.7, Go to 1.27.4 and the Go dependencies.