ovais
June 9, 2021, 8:17am
1
Hi,
We are facing an issue after converting a simple text to PDF.
Some part of the last character or often an entire character gets hidden when the text is right aligned .
Kindly confirm if this is an issue or if there is a fix for this.
Attaching our .txt file which contains the HTML with multiple such cases and which we used to generated the PDF. The resultant PDF is also attached.
Please use this .txt file to produce this issue at your end.
The Aspose version that we are using is 20.4.1 . For testing purpose we used the latest version and problem existed there too.
Thank you.
FilesTextHiding.zip (35.9 KB)
@ovais
I can not reproduce the issue with the following code:
HtmlLoadOptions options = new HtmlLoadOptions();
Document pdfDocument = new Document(_dataDir + "TextHiding.txt", options);
pdfDocument.Save(_dataDir + "html_test.PDF");
html_test.PDF (35.9 KB)
I request you to share your code so that we can help you accordingly.
ovais
June 9, 2021, 12:29pm
3
Please use this application: https://drive.google.com/file/d/1j2FIRjCTXLQujuFXf8_809k5xfCPrHEU/view?usp=sharing
Run this project and PDF will be created in the same folder.
Thank you.
@ovais
I have been able to reproduce the issue on our end. A ticket with ID PDFNET-50059 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.
The issues you have found earlier (filed as PDFNET-50059) have been fixed in Aspose.PDF for .NET 21.7 .