-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Related to #528
Currently we use unoconv / libreoffice with a lot of magic (to make sure processes actually die if neccessary) to convert office documents to a PDF. This works, but we often have issues with certain fonts that are not installed etc. and the whole process magic with isolation is quite complex. Apart from that reasoning, unoconv is long deprecated.
The purpose of DMS is not to be a PDF converter but a template engine. We will never be able to convert perfect PDFs and frankly, shouldn't if there are services that are specialized to do this. I found a nice OSS (MIT license) solution "Gotenberg" which can be deployed as a docker container:
There is even a python client for it:
My proposal would be to remove everything unoconv / libreoffice related from this service in favor of using Gotenberg to convert to PDF.
What do you think?