-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Description
I have tried to download some Arabic characters and Chinese characters showing ###
this is the code in the parser
public byte[] generateFile(final String markdown) {
Node document = getParser().parse(markdown);
String html = getRenderer().render(document);
String htmlDoc = applyCssStyling(appendHtmlAndCssTag(html));
System.out.print(htmlDoc);
ByteArrayOutputStream out = new ByteArrayOutputStream();
PdfConverterExtension.exportToPdf(out, htmlDoc, null, getFlexOptions());
return out.toByteArray();
}
here is HTML
Disclaimer: By reading this you agree that the template is working as per requirement
I’mmm ڛ ڛ 中文字符 ـش ـص Agree/Disagree bla bla bla
here is output pdf attached
download.pdf
this is how text in pdf looks
Disclaimer: By reading this you agree that the template is working as per requirement
I’mmm # # #### ## ## Agree/Disagree bla bla bla