We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

DOCX to PDF Conversion Issue with Hyphenation using C#

I am unable to match MS Word hyphenation after DOCX to PDF Conversion. I have tried few dictionaries including
https://github.com/aspose-words/Aspose.Words-for-.NET/blob/master/Examples/Data/hyph_en_US.dic
https://github.com/LibreOffice/dictionaries/blob/master/en/hyph_en_US.dic

Are there any other options other than modifying the hyph_en_US.dic file?

sample.docx (31.9 KB)

DOCX to PDF Conversion with Automatic Hyphenation

new License().SetLicense("Aspose.Words.lic");
Hyphenation.RegisterDictionary("en-US", "hyph_en_US_11388.dic");
var doc = new Document(path);
doc.Save(path + ".pdf");

@skirov

We have logged this problem in our issue tracking system as WORDSNET-22870. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Thank you @tahir.manzoor. Do you know if this is confirmed as a bug, or needs more time to analyze?

@skirov

Yes, it is a bug and we will let you know about the ETA of this issue after analysis.

@skirov

It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue WORDSNET-22870 as ‘Not a Bug’.

Please use attached modified hyphenation dictionary to avoid this issue.
hyph_en_US_improved.zip (42.0 KB)