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

Free Support Forum - aspose.com

Hyhpenation doesn't work


I use Aspose Words version

I try to save a word documents as pdf file.

But I got a different result when i do it with Aspose (without Hyphenation rules).

I have copied the dictionary from my local folder ‘Microsoft\UProof’. It seems it doesn’t use it.

Here is my code


Document doc = new Document(“hyph.docx”);

Hyphenation.RegisterDictionary(“en-US”, @“CUSTOM.DIC”);

Hyphenation.RegisterDictionary(“de-DE”, @“CUSTOM.DIC”);

Hyphenation.RegisterDictionary(“en-GB”, @“CUSTOM.DIC”);


Compare the result with file ‘hyphoutputcorrect’.

It is different.

It is a bug ?

Kind regards,

Hi Guido,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14845. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Guido,

Thanks for your patience. 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-14845) as 'Not a Bug'.

We found that the file CUSTOM.DIC is not a correct hyphenation dictionary file. It does not contain patterns. We have attached the correct dictionary hyph_en_US.dic with this post for your kind reference. Please use this file to get the desired output.