I currently have a headless version of libre office installed on my server and using exec commands, covert uploaded pptx files to pdf.
I’ve noticed that some of the spacing between line breaks and some of the text changes from the pptx file to the pdf file. The command is pretty straight forward, so I’m not sure what could be going wrong.
exec("libreoffice --headless --convert-to pdf test.pptx --outdir ../../../uploads/temp/");
Everything works as excepted in the conversion, but it seems there are formatting issues. I’ve attached a few screenshots to show you the differences in line heights and how some capitalized text is changed to lowercase.
I can’t post images, but here are the screenshots of the issues I’m having, screenshots here