You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
When attempting to change the orientation to landscape in wkhtmltopdf by adding the --orientation parameter in MimeMessageConverter.java, the resulting PDF from a converted MSG file exhibits overlapping text issues.
Sample File
I have attached a sample MSG file (Test email conversion.msg) for reproduction purposes: Yes
Additional Details
Steps to Reproduce
I clone the latest version of the project.
Then I locate MimeMessageConverter.java.
Modify the cmd list in the convert method as follows:
List cmd = new ArrayList<>(Arrays.asList(
"wkhtmltopdf", "--viewport-size", VIEWPORT_SIZE, "--enable-local-file-access", "--orientation", "Landscape",
//"--disable-smart-shrinking",
"--image-quality", String.valueOf(IMAGE_QUALITY), "--encoding", charsetName));
Convert the attached Test email conversion.msg using the updated code.
Open the resulting PDF (Test email conversion.pdf) and observe the text overlap issue.
Expected Behavior
The PDF should render in landscape orientation without any text overlap, similar to when using default portrait orientation.
Actual Behavior
Text overlaps occur when the orientation is set to landscape.
Sample Files
Test email conversion.msg
Test email conversion.pdf
Hi nick, facing a similar problem here. Could there be a follow up on this? Mainly on the overlapping text for the landscape version. Thanks again for the cool converter!
I hope you are doing well. Please allow me to inquire about the progress of the bug fix for this overlapping text issue. I understand how busy you are, and I'm sorry for taking up your time with this request.
Any updates would be greatly appreciated. Thank you again for the converter!
Issue
When attempting to change the orientation to landscape in wkhtmltopdf by adding the --orientation parameter in MimeMessageConverter.java, the resulting PDF from a converted MSG file exhibits overlapping text issues.
Sample File
I have attached a sample MSG file (Test email conversion.msg) for reproduction purposes: Yes
Additional Details
Steps to Reproduce
List cmd = new ArrayList<>(Arrays.asList(
"wkhtmltopdf", "--viewport-size", VIEWPORT_SIZE, "--enable-local-file-access", "--orientation", "Landscape",
//"--disable-smart-shrinking",
"--image-quality", String.valueOf(IMAGE_QUALITY), "--encoding", charsetName));
Expected Behavior
The PDF should render in landscape orientation without any text overlap, similar to when using default portrait orientation.
Actual Behavior
Text overlaps occur when the orientation is set to landscape.
Sample Files
Test email conversion.msg
Test email conversion.pdf
Test email conversion.zip
The text was updated successfully, but these errors were encountered: