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
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.
My Answer:
It sounds like the issue may be related to the fonts not being properly installed or configured in Alpine. LibreOffice relies on system fonts to properly render text when converting documents to PDF.
I would recommend checking the font configuration in Alpine and ensuring that all necessary fonts are installed. You may also want to try converting the document on a different system to see if the issue persists.
If the problem continues, you may need to look into alternative solutions for converting documents to PDF, such as using a different conversion tool or service.
Additionally, you could try reaching out to the LibreOffice community or forums for further assistance and troubleshooting tips. They may be able to provide more specific guidance on resolving this issue.
Rate this post
3 of 5 based on 5749 votesComments