Hi,
I’m converting an Excel file to PDF using the command line.
On Windows, the conversion works correctly with the following command:
“C:\Program Files\LibreOffice\program\soffice.exe” --headless --convert-to pdf --outdir ./ ./test.xlsx
(see image)
However, on Linux, when I run this command:
/usr/bin/soffice --headless --convert-to pdf --outdir ./ ./test.xlsx
the right side of the page gets cut off, and the output is split across multiple pages.
(see image)
Do you know what might be causing this?
Is there a way to make the Linux version produce the same PDF result as on Windows?
===========
■Additional information
I installed the following two fonts and tested again:
apt-get install -y fonts-ipafont-gothic
apt-get install -y fonts-noto
However, the right side of the page still gets cut off.
(see image)
===========
I’ve attached the file with the issue.
test.xlsx (34.3 KB)




