We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.html version 22.2 cannot covert correct ASCII text into PDF file

We use Aspose.html to convert HTML files into PDF files. After upgrading to version 22.5 (from 21.2), we find the converted PDF includes the wrong encoding for ASCII letters.

This is the PDF comes from version 22.5
image-20220607-220018.png (115.2 KB)

This is the PDF comes from version 21.2
image-20220607-220606.png (117.9 KB)

This is comparison of the fonts in 2 PDFs
image-20220607-221233.png (53.0 KB)

This is HTML file
BK2-A1D_Master_HTML.zip (2.4 KB)

After testing on other versions, I find that version 22.2 is the first version to have this problem.


Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing. Please also share the output PDF files. We will investigate the issue and provide you more information on it.

Hi @tahir.manzoor,
Thanks for the reply.

Source code of the test application
AsposeTest.zip (3.2 MB)

The PDF file
BK2-A1D_Master_HTML.pdf (53.8 KB)


We have logged this problem in our issue tracking system as HTMLNET-3880. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


Could you please check the attached PDF and let us know if it is your desired output?
HTMLNET-3880.pdf (50.5 KB)

The issues you have found earlier (filed as HTMLNET-3880) have been fixed in this update. This message was posted using Bugs notification tool by avpavlysh