Hello. When I load and save a word document which contains underlined text as PDF, the font is looking different from the one that I converted from Word.
Here is a test application that I am using to convert the document.
I am afraid, you have attached the incorrect font file. The name of the font file you attached is actually “Bahnschrift”, but we need the “Bahnschrift Light” font to reproduce the issue on our end.
You can verify the font name by doing the following steps:
Right click on any Font file, Click Properties, Go to Details tab, there you will find actual Font Name besides “Title”.
I am afraid, this is not the correct Font file. You can also check the following article to verify that Aspose.Words is unable to find the correct Font.
@awais.hafeez
I update the font to Calibri Light only. I guess you have this font because I am using Windows10’s default fonts only. FileToConvert.zip (9.0 KB)
Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17131. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.