Convert RTL Html to PDF in Java

Hi,
we are trying to convert an html file which contains hebrew letters (RTL format) in UTF8 and the output pdf file comes out with the letters being reversed,
for example if in the html we had the word “שלום” in the output pdf file we see “םולש”.

can you help?
Thanks,
Shahar.

@shaharh,

Thank you for your inquiry.
In order to further investigate this issue we need following details from you:

  • API version you are evaluating
  • Problematic document
  • Sample code

htmlDannyutf8.html.pdf (110.5 KB)
htmlDannyutf8.zip (1.6 KB)

Hi,
I attached the problematic file (html inside the zip) and the output pdf file.
According to the pom.xml file, the groupdocs-conversion is at version 18.7.

About the code, I’m using the sample JAVA sample code:
Conversion.convertToPdfAsFilePath(“htmlDannyutf8.html”);

Thanks,
Shahar.

@shaharh,

Thanks for sharing the required files.
This issue is reproduced at our end. Hence, it has been logged in our internal issue tracking system with ID : CONVERSIONJAVA-541. We are investigating it. You’ll be notified as we have any further update.

Hi, any news on this?
Thanks,
Shahar.

@shaharh,

We are still investigating this issue. We’ll update you as we have any update.

The issues you have found earlier (filed as CONVERSIONJAVA-541) have been fixed in this update. This message was posted using Bugs notification tool by yevgen-nykytenko