I am also facing issues related to rendering hindi text in PDF .
PFB the code snippet : htmlString is some hindi text
It generates some other fonts or ?? in the PDF.
ByteArrayOutputStream out = new ByteArrayOutputStream(10240);
StringReader isr = new StringReader(htmlString);
pd4ml.render(isr, out, new URL(urlBase), IEncoding.STRING_ENCODING);
Could you please let me know the configuration needed for the same.
> Could you please share more configuration details. With my code it is not able to comprehend hindi font at all.
By default PD4ML converts to PDF characters, belong to Latin-1 charset only using built-in Adobe fonts (Helvetica, Times New Roman and Courier New). In order to output national or special characters you would need to configure and utilize TTF embedding feature of PD4ML Pro. See: