Click here to Skip to main content
16,022,069 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
We are using Aspose Linq Engine for generating documents. It is working fine for different-different currency values but when we have value in AED then it works as expected in generated word document but when we convert word document to pdf document then values are getting overlap.


Below is sample code to convert to Pdf from Word file and document in word and pdf format.

var wordDoc = new Aspose.Words.Document(@"C:\AsposeTemplate\GeneratedDocxFile.docx");
wordDoc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
wordDoc.Save($"C:/AsposeTemplate/GeneratedPDFFile.pdf");

we are using Aspose.Words" Version="23.8.0" also tried with the latest version.

C#
var wordDoc = new Aspose.Words.Document(@"C:\AsposeTemplate\GeneratedDocxFile.docx");
wordDoc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
wordDoc.Save($"C:/AsposeTemplate/GeneratedPDFFile.pdf");


Here we have added below line because we were facing issue with “Russian Date Format” and after this it gets resolved but we are getting another issue with AED currency values.

C#
wordDoc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;


What I have tried:

Checked on the latest aspose library version
Posted
Updated 5 days ago
Comments
Chris Copeland 4 days ago    
This question is probably better suited for the Aspose support forums, or a support ticket. I don't know if anyone here would have intimate knowledge enough to provide an answer for this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900