Home  >  Q&A  >  body text

Text not converted correctly from libreoffice docx to pdf

I have a big problem converting doc/docx to pdf. I created a file conversion API using Symfony. I mostly work on ubuntu and have never had any problems. But I have to migrate from Ubuntu to Alpine. The tragedy happened.

Basically, the text is converted into weird characters. Result conversion example

Convert image to pdf

I searched extensively but nothing related to my problem. The api works fine without any issues, but libreoffice doesn't work.

I am open to any advice you can give me.

P粉642920522P粉642920522233 days ago385

reply all(1)I'll reply

  • P粉455093123

    P粉4550931232024-02-04 12:38:56

    Alpine and an oversimplified OS version. I created a classic php-apache docker container in parallel and this solved my problem.

    Everything is working fine now without any problems.

    Execute calls to the rest of the converter api as a promise integration in the main api.

    reply
    0
  • Cancelreply