Hi Jason,
I am converting docx (which is having symbols and multiple languages like hindi,kannda,tamil,telugu ..etc) to pdf.
But DOCX is generating properly with all symbols and languages. But pdf is generating with #### characters instead of different language characters and
i am losing the formatting ( bold,italics,underline) in pdf but docx is generating correctly.
Below is my conversion code.
Mapper fontMapper = new IdentityPlusMapper();
wordMLPackage.setFontMapper(fontMapper);
PdfConversion c = new Conversion(wordMLPackage);
String pdfFile ="C:/123.pdf";
wordMLPackage.save(new File(pdfFile));
OutputStream os = new java.io.FileOutputStream(pdfFile);
PdfSettings pdfSettings = new PdfSettings();
pdfSettings.setWmlPackage(wordMLPackage);
c.output(os, pdfSettings);
os.close();
Please help me to get different languages and formatting( bold and italic) in pdf after converting it from DOCX.
Attached is the result pdf after conversion.
Thanks.