A Word document that contains “optional Hyphens” (you can find by insert special characters or use shortcut CTRL±) is not displayed correctly when saved as pdf.
Attached the documents, one word and the generated pdf.
This is known issue and I have linked your request to related record in our tracking system. We will inform you as soon as problem is resolved. Meantime I would suggest you how to work around this issue:
// Open document.
Document doc = new Document("in.docx");
// Remove optionalHypens from the document.
doc.Range.Replace(ControlChar.OptionalHyphenChar.ToString(), "", false, false);
// Save document to PDF.
doc.Save("out.pdf");
Hello
Thank you for additional information. It seems this problem was partially resolved, and there is still some problem with Hyphens. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved. Sorry for inconvenience.
Best regards,
Hello
Thanks for your request. This issue is scheduled to be fixed in the next version (10.4.0). However, the issue is not fixed yet, so I cannot promise you that the fix will be included into the next version. If the fix will not be included in the next version then most likely, it will be included into the 10.5 version that comes out in a month after 10.4.
Best regards,