Problem with formatting when converting DOCX to PDF

Attached zip is illustrating the problem.
dokument_word2016.zip (139.0 KB)

Please let me know if you need additional information.
Regards

@timsi The document uses hyphenation. You should enable this feature as described in our documentation by providing the required hyphenation dictionaries:
https://docs.aspose.com/words/net/working-with-hyphenation/

The following code produces correct result:

Hyphenation.RegisterDictionary("pl-PL", @"C:\Temp\hyph_pl_PL.dic");
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");

I have used OpenOffice hyphenation dictionaries so there are slight difference if compare to MS
hyph_pl_PL.zip (12.0 KB)
out.pdf (76.4 KB)

it works perfectly
Thank you

1 Like