Hi,
My client has purchased Aspose.Words for Java. I am using Aspose.Words for converting word document to PDF. During testing I have came across the following issue.
The fonts in the resulted PDF look like as it is written in Chinese font. I am uploading inputed word documents and the resulted pdf. Please fix this issue .This very urgent for me.
Thanks,
Shibu
Hi Shibu,
Thanks for your inquiry. In your case, I suggest you please use LoadOptions as shown in following code snippet. Hope this helps you. Please let us know if you have any more queries.
LoadOptions options = new LoadOptions();
options.setLoadFormat(LoadFormat.DOC);
options.setEncoding(Charset.forName("UTF-8"));//ISO-8859-1
Document doc = new Document(MyDir + "in.doc", options);
doc.save(MyDir + "out.pdf");