Hi,
When converting this .docx to .pdf with Aspose.Words, I’ve found the following issues with dates in the X-Axis:
- They are shown in diagonal instead of horizontally in 2 rows.
- The second row text is mangled and the first row is cut off
- Some text is pushed into a second line
- All text is shown in one line
I’ve marked all those in the comparison image1.png and image2.png files for your convenience.
Can you please have a look at these?
Code:
var document = new Document(@".\test.docx");
document.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
document.Save(@".\out.pdf");
image1.png (149.8 KB)
image2.png (174.9 KB)
test.zip (699.0 KB)
Thank you,
I’ve just found another related issue so I’ll post it here too:
5. The labels are shown horizontally instead of diagonally (the opposite of issue #1)
This doc includes another example of issue #3.
image3.png (121.6 KB)
test2.zip (155.4 KB)
Thank you,
@ServerSide527 Thank you for reporting these problems to us. I have created separate defects for each of the problems:
WORDSNET-23662 - Axis labels are shown in diagonal instead of horizontally in 2 rows.
WORDSNET-23663 - Multi-level category labels are rendered improperly.
WORDSNET-23664 - Text in category labels is wrapped incorrectly.
WORDSNET-23665 - Text in category labels is not wrapped.
We will keep you informed and let you know once the issues are resolved.
The issues you have found earlier (filed as WORDSNET-23665) have been fixed in this Aspose.Words for .NET 22.5 update also available on NuGet.
The issues you have found earlier (filed as WORDSNET-23664) have been fixed in this Aspose.Words for .NET 22.8 update also available on NuGet.
The issues you have found earlier (filed as WORDSNET-23662) have been fixed in this Aspose.Words for .NET 25.1 update also available on NuGet.
Hi,
Thanks for the updates.
I’ve tried to upgrade to Aspose.Words 25.1.0 and found most of the issues are fixed. However, I noticed the case for Multiple format differences in dates in X Axis - #2 by ServerSide527 is still not working.
I could see that the axis is still rendered in horizontal instead of diagonal as shown in Word. I checked the card left open in this thread but it seemed to not correspond to this issue.
Could you please check and see if the fix to the issue was not in place, or if the existing tickets did not cover the issue and a new ticket should be opened?
Thanks,
@ServerSide527 Unfortunately, WORDSNET-23663 issues is not resolved yet. We will keep you updated and let you know once it is resolved.