HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Mangal font support › Re: Re: Mangal font support
February 25, 2016 at 05:01
#29639
Hi,
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.
Regards,
Ranjana sinha