Headless Libre Office to PDF Conversion Issues

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

Thanks for providing the screenshot. In this particular case this does not appear to be a headless-specific problem. The line height issue is possibly bug fdo#51340, the attachments to which which still render problematically under v4.3-v4.4. It may also be bug fdo#59932, if the list items are placed in text boxes. The erroneous capitalisation issue I cannot find a related open bug for.

Please file a bug for this latter issue and provide a basic, clear example file if possible (or at least clear instructions on how to re-create a problematic document). Please post a link to any bugs you file in a comment below using the format “fdo#123456”. Thanks.