Font issue after convert EML to PDF

Hi Team,

I have issue in EML to PDF conversion, some of the charecters are showing reverse order in PDF.
Attaching zip file with input, output and source code.

com.aspose
aspose-email
20.7
jdk16

regards
Tarun Srivastava

aspose font1.zip (112.4 KB)

@genpact

Attached please find the comparison image of EML and PDF. I am unable to identify any reverse ordering. Can you please specifically share and highlight the areas where you suspect rendering issues. I also suggest you to please try exporting EML to MHTML as file and see if the MHTML is rendered fine or you observe issue in that too. Please also share MHTML too with us.

I also suggest you to please try using latest Aspose.Email for Java 20.9 on your end as well.
image.png (67.9 KB)

hi @mudassir.fayyaz,

attaching image file for your reference, lots of words are in reverse order, i just mark 3 character 2 are in Bengali character and 1 in Thai language.

image.png (69.6 KB)

I also tried with 20.9, same issue is there.

thanks
Tarun

@genpact

I have created an issue with ID EMAILJAVA-34754 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

@mudassir.fayyaz

I can see issue status EMAILJAVA-34754 is in resolved,
can you share version detail?

Tx
Tarun Srivastava

@genpact

Can you please consider following alternate in your application and verify the results.

//mailMsg = MailMessage.load(docInputStream, new EmlLoadOptions());
mailMsg = MailMessage.load(docInputStream, new MsgLoadOptions());

Hi @mudassir.fayyaz

I tried your code change suggestion, but it give me some exception
class com.aspose.email.system.exceptions.InvalidOperationException: Incorrect message format specified in the options: Msg
com.aspose.email.MailMessage.a(SourceFile:1410)
com.aspose.email.MailMessage.c(SourceFile:1329)
com.aspose.email.MailMessage.a(SourceFile:1307)
com.aspose.email.MailMessage.load(SourceFile:1300)

regards
Tarun

@genpact

Can you please ensure which product version you are using? If you are using older version then please try using latest Aspose.Email for Java 20.10 on your end.

Hi @mudassir.fayyaz

Getting same exception after update version as 20.10
Can you share output pdf of attached EML file.

regards
Tarun Srivastava
testing.zip (14.1 KB)

@genpact

We are verifying this on our end and will get back to you with feedback as soon as possible.

@genpact

I have added the informtion in our issue trackng system and we will share the feedback with you as soon as the issue will be fixed.

@mudassir.fayyaz

Sure, I will wait for your feedback.

thanks
Tarun

@genpact

Thank you for your understanding.