Free Support Forum - aspose.com

Text font is incorrect after DOCX to PDF conversion using .NET

Hi Team

Please have a look at the Attachment (remove .x from the Files).

The Test.docx has a Bookmark "MyTest" the Text ist "Test".

There are two references to that Bookmark. One of them is below formated in red and one is above in the Header.

When saving the Document to PDF like that:

var doc = new Document("Test.docx");
doc.Save("Test_Converter.pdf", new PdfSaveOptions {Compliance = PdfCompliance.PdfA1b, UseHighQualityRendering = true});

The Reference in the Header takes the Formatting of the Bookmark (Calibri, Size 26, Bold), and ignores the Format that I defined on the reference (Arial, Size 8, Italic). See Result Test_Converted.pdf.

Is it a Bug or do I have to do something in my code?

Thanks and Best Regards

Giuseppe

Hi Giuseppe,

Thanks for your query. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSNET-6837 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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


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