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

Fix for issue with poor text spacing in PDF #7

Merged
merged 1 commit into from Dec 14, 2017

Conversation

dmserebr
Copy link
Contributor

Found the issue with poor kerning when trying to convert EML to PDF on Windows with the latest tool release version. (On Linux, I did not see the issue.)
Here is an example of initial EML and here is an example of the resulting PDF.

After some search, I found that it turns to be a known issue in wkhtmltopdf. After upgrading to the recent release of wkhtmltopdf, I still could reproduce the issue. For Windows, the only working solution for that seems to be increasing conversion DPI for the tool (by default it is 96). As it should not have severe side effects, I suggest increasing conversion DPI in the command that calls wkhtmltopdf.
I have tested the fix both on Windows and Ubuntu.

@nickrussler
Copy link
Owner

@dmserebr Looks good 👍 Thank you for the contribution and the good PR!

@nickrussler nickrussler merged commit 0513859 into nickrussler:master Dec 14, 2017
@dmserebr
Copy link
Contributor Author

You're welcome, and thanks for the good tool that helped me in my work!

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

Successfully merging this pull request may close these issues.

None yet

2 participants