Hi,
I have a situation where we have Word documents with mail merge field, which we fill in with the Aspose.Words components. Now I need to take a certain document, convert it to pdf (via Aspose components) and build a new pdf doc by locating certain pages and copying the other pages to a the new pdf file. When this is done, I need to convert BAC to a Word doc.
This is all done via the Aspose components and the process basically works fine except for one issue.
Text pieces in the original Word document that were Times New Roman with BOLD turned on…when they get converted BACK to Word from the pdf file in the middle of the process, have the font defined as “DFRLSS+TimesNewRomanPS-BoldMT” and it is basically squeezed together and unreadable. If I select one of these affected areas, change the font back to Times New Roman, it looks fine.
Aspose.Words version is 14.11
Aspose.Pdf version is 9.7
Repeated issue with Aspose.Pdf 10.4
Odd thing is it seems to be ok, if the Times New Roman stuff is NOT bold…
Any suggestions??
UPDATE: Seems like it is tied to saving it as a .doc and not docx…not sure if it HAS to be docx or not.
Hi Brad,
I sent you a private email through the site.
Hi Brad,
Thanks for sharing the resource files.
I have tested the scenario using Aspose.Pdf for .NET 10.4.0 in Visual Studio 2012 project with target framework as .NET Framework 4.0 running over Windows 7 (x64) and I am unable to notice any issue. As per my observations, the text is properly being rendered in DOC or either DOCX file.
For your reference, I have also attached the resultant file generated over my end.
C#
Document doc = new Document(@"C:\pdftest\PdfFromOrigWord.pdf");
doc.Save(@"C:\pdftest\PdfFromOrigWord_Reverted.doc", SaveFormat.Doc);
ps, for your convenience, I have marked this thread as private so that the contents/files shared in this thread are only accessible to Aspose staff.*
This really does not help me though. I am using Visual Studio 2010.
Would it help if I sent the resulting Word file?
Which version of Aspose.Words are you using? Could that affect what was stored in the pdf originally and from there going back to Word…might it have been missing something?
Hi Brad,