ncjoes / office-converter

PHP Wrapper for LibreOffice
MIT License
197 stars 75 forks source link

Problem when converting my DOCX file to PDF #53

Open cyrilperard opened 8 months ago

cyrilperard commented 8 months ago

Hello,

I have a font problem when converting my DOCX file to PDF.

To make my project, I started from dunglas/symfony-docker " https://github.com/dunglas/symfony-docker " which combines Symfony 6.3 with Docker, running on a Caddy server. My php version is 8.2-fpm-alpine.

Here's my problem:

I'm publishing a docx document with PHPWORD "phpoffice/phpword" in the latest version.

Here's a screenshot of my document before posting:

befor-publipost

Here's a screenshot of my document after posting:

after-publipost

Here's a screenshot of my document after conversion to pdf with OfficeConverter "ncjoes/office-converter" latest version :

after-publipost-pdf

Have you ever had this problem? If so, can you help me solve it?