I am using docx4j to convert word to pdf my word doc contains arabic and english characters in output pdf arabic characters are messed up
why?
i have attached the word document and pdf document text
void createPDF() throws FileNotFoundException, Docx4JException, Exception {
//To change body of generated methods, choose Tools | Templates.
FOSettings foSettings = Docx4J.createFOSettings();
InputStream is = new FileInputStream(new File("Documents\\Sampledoc.docx"));
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(is);
//Print all available physical fonts
PhysicalFonts.discoverPhysicalFonts();
Map<String, ...