简体   繁体   中英

Text not correctly converted libreoffice docx to pdf

I have a big problem converting doc/docx to pdf. I created a file conversion API with Symfony. I mainly work on ubuntu, and never had any problems. But I have to migrate from Ubuntu to Alpine. And there comes the tragedy.

Basically, the text is converted into strange characters. example result conversion

Image pdf converted

1

I have searched far and wide, but nothing that is relevant to my problem. The api is working and there are no problems there, but libreoffice does not work as it should.

I am open to any advice you could give me.

Alpine and a too minimalised os verion. I created a classic php-apache docker container in parallel, which solved my problem.

Now everything works without any problems.

Executing a call to api rest of the converter, integrated as a promise in the main api.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM