Hi,
I upgraded Aspose.Cells from 8.9.0 to 17.3.0 today and noticed the chart’s text font style was no longer respected when rendering.
Code:
var bookBold = new Workbook(@“test.xlsx”);
Worksheet sheetBold = bookBold.Worksheets[0];
sheetBold.Charts[0].ToImage(@“test.emf”);
I’ve attached the test.xlsx file and both image outputs from Aspose.Cells 8.9.0 and 17.3.0. You can find the text in test17.3.0.emf had a different style from the original excel file (it’s thinner in the emf), while test8.9.0.emf looked just fine.
Could you help me check if there’s any regressions?
Thanks
Image rendered from chart has different font style from the original file in the latest Aspose.Cells
Hi,
Hi,
I took some time to test with the 17.03.4 and the issue still remains.
To make it more obvious I have updated and attached the test file with a 2-line title in the chart. I’ve attached a screenshot for this issue as well.
Could you help me look into this?
Thanks
FYI we used the font Generis Sans Com for the chart text.
Thanks
Hi,
Hi,
Thanks for your reply.
The images looked very different from the output I could produce.
The issue on my side seemed to happen only when I used Generis Sans Com. Could you confirm this font had been installed in your test machine? (You can verify this by opening the excel file to see if the title is in Generis Sans Com)
Thanks very much
Hi,
Hi,
The font is installed on my system.
When I used the previous version 8.9.0 it could render the image correctly. But when I used 17.3.0 to render using the same PC under the same configuration the output was different and incorrect.
Thanks
Hi,
Hi,
I have attached the truetype font files as well as the pdf outputs from both Workbook.Save(“xx.pdf”) and chart.ToPdf(“xx.pdf”) methods.
Thanks
Hi,
Hi,
Thanks for testing and providing me the files.
I’ve checked the samples and I noticed the result in pdf and image are different (the font in pdf is correct while in the image it is wrong).
I also noticed the percentage number is missing in pdf.
I’ve attached the screenshot for your reference. If the image you produced earlier in the screenshot is still different from what you saw in your pc, could you please provide the screenshot for me?
Thanks very much
Hi,
Amjad Sahi:We have also created a separate ticket (sub-task) for your recent concerns:CELLSNET-45272 - Font is different and percentage sign is missing in the output PDF file
The issues you have found earlier (filed as CELLSNET-45265;CELLSNET-45272) have been fixed in Aspose.Cells for .NET 17.4.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan