Hi,
When converting a .docx file to PDF through Aspose there are a few issues that happen, that do not happen when saving the .docx as PDF directly through Word. The following image should show the details highlighted in red boxes:
issues.png (74.9 KB)
Specifically for the right graph, the dash and dot markers in the chart are lot bigger in the Aspose version. The axis also reach to a different point - 120 in the word converted PDF, and 140 in the Aspose PDF. The .docx stops at 120.
For the left graph, the axis is converted from percentages to decimals. It should be in percentages.
The code used for this is as follows:
var doc = new Document(sourceDocument);
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save(OutputPath);
I have attached the original .docx test file, along with the two outputs
test.zip (86.0 KB)
Thank you for your help.