Optional hyphens in word document become gaga when converted to pdf

Hi to everybody at the support team.

The attached Worddocument ‘Vorlage.doc’ produces stranges symbols when converted to pdf.

For example, look for the words “ver-ändert”, “Frei-flächen” or “Bahnhofsum-feld” .

Platform:
Windows 7 64-Bit
Dotnet 2.0
Aspose.Words 9.5.0.0

Attached files:
Vorlage.doc : Worddocument which causes problem
Vorlage.pdf : PDF converted via Aspose, shows strange symbols
WordConverter.zip: Example project to reproduce the problem

Thanks for help, Martin

<span style=“font-size: 10pt; font-family: “Tahoma”,“sans-serif”;”>

Hello

Thank you for reporting this problem to us. I managed to reproduce it on my side. Your request has been linked to the appropriate issues. You will be notified as soon as it is resolved.

As a temporary workaround, you can try removing optional hyphens from the document before converting it to PDF. Please see the following code example:

// Open document.
Document doc = new Document("yourDoc.doc");
// Remove optionalHypens from the document.
doc.Range.Replace(ControlChar.OptionalHyphenChar.ToString(), "", false, false);
// Save document to PDF.
doc.Save("out.pdf");

Hope this helps.

Best regards,

The issues you have found earlier (filed as WORDSNET-3381) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(3)

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan