How can I convert excel to PDF and keep all format from excel file ? [closed]

asked 2017-02-14 04:51:54 +0200

tina08 gravatar image

updated 2020-09-24 15:16:39 +0200

Alex Kemp gravatar image

Hi all, Currently, I can covert from excel to pdf by command line, but I have problem about front after convert. In excel file I used Times new roman font, but after convert to pdf I found the font in PDF file is different with it. Please help me how can I fix this problem.

P/s: My excel file in Japanese language, and I'm using Libreoffice 5.0 and centos 7

Thank you very much

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-09-24 15:17:22.001680


What font do you see when open the file in LibreOffice Calc (not in command line, but usual way, interactively)? Is it Times New Roman as expected? Is export to PDF from LibreOffice window the same as using command line?

I advise you to file a bug report at and attach sample excel file there to reproduce the problem.

Mike Kaganski gravatar imageMike Kaganski ( 2017-02-14 08:12:30 +0200 )edit

If I use MS Excel to convert to PDF, everything is fine, but when I convert from Libreoffice, the font from PSD is different with excel file.

tina08 gravatar imagetina08 ( 2017-02-15 07:40:26 +0200 )edit

Do you use Excel on the same system (CentOS - possibly under Wine)? The question is if the required font installed on the system?

Mike Kaganski gravatar imageMike Kaganski ( 2017-02-15 07:48:18 +0200 )edit

No, I don't. I open excel in windows. But I have tried install Libreoffice in windows and convert to PDF, the result is the same when I do it in Centos.

tina08 gravatar imagetina08 ( 2017-02-16 03:20:09 +0200 )edit

So my advise remains: please file a report with sample file attached, preferably also with a PDF where the problem is seen, and a PDF created with Excel for reference.

Mike Kaganski gravatar imageMike Kaganski ( 2017-02-16 04:02:06 +0200 )edit