Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting differences in docx-->pdf conversion vs locally run libreoffice #19

Open
vincent-fletcher opened this issue Apr 25, 2019 · 1 comment

Comments

@vincent-fletcher
Copy link

Hi there.

I'm experiencing differences in the output pdf format (converting from docx) when running serverless-libreoffice vs running libreoffice 5.4 pre-installed on the machine.

Namely, it seems that certain text is varying in size, some being bolded while others are not. I assume this has something to do with fonts, but can you think of any way to rectify?

I've attached the three files, the original docx that was used, the Locally created pdf and also the Lambda created pdf.

sample-docx.docx
lambda.pdf
local.pdf

Thank you.

@vladholubiev
Copy link
Owner

Hey @myzticman,

I am facing the same issues myself as well, and unfortunately haven't found a solution to this problem yet.

There was an issue recently about using custom fonts #18, maybe that will help shed some light on the topic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants