Thai text is not converting correctly in Debian Docker

Hi,
the Thai text in the input are not getting converted correctly when we deployed Aspose in docker container of Debianaspose_box.png (823 Bytes)

Text are coming as block in the converted document, please refer the image attached

We are using aspose for converion

@procurement-opp_allianz_de

Unfortunately, the Thai character recognition is not supported yet. However, please share a sample image with us so that we can log a feature request and share the ID with you.

It is not recognition.when converting an HTML document with thai character, we are getting just blocks

The scenario is like , when we received the incoming email we are are generating an html file from mail body and we are converting it to Pdf. But the THAI characters we have included in the mail subject or body are not correctly displaying in the converted pdf. Its showing as block instead of each character in the converted pdf. We are facing this issue in the Debian Linux container where our application is deployed. But it is working fine from the windows environment where we are locally running the application.

Could you please help us on this issue as soon as from your side?

Below are the standalone code we are using for converting HTML to pdf.

public byte[] convertHtmlToPdf(InputStream file) throws Exception {

System.out.println(“convertHtmlToPdf start:” + System.currentTimeMillis());
HtmlLoadOptions options = new HtmlLoadOptions();

Document doc = new Document(file, options);
System.out.println(“convertHtmlToPdf doc loaded:” + System.currentTimeMillis());
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {
doc.save(outputStream, com.aspose.pdf.SaveFormat.Pdf);
System.out.println(“convertHtmlToPdf finished:” + System.currentTimeMillis());
return outputStream.toByteArray();
} finally {
memoryCleanup();
}

}

@procurement-opp_allianz_de

It seems like the issue is related to the missing fonts. Please make sure that fonts (which support Thai characters) are present and properly installed in the system where you are performing the conversion. In case issue still persists, please share your sample source file with us. We will test the scenario in our environment and address it accordingly.