How to access Asian/Latin font in chart legends / axis labels / textboxes?

The issues you have found earlier (filed as CELLSNET-46149) have been fixed in Aspose.Cells for .NET v20.5. This message was posted using Bugs notification tool by Amjad_Sahi

@ServerSide527,

Please try our latest version/fix: Aspose.Cells for .NET v20.5.3 (attached)
Aspose.Cells20.5.3 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.5.3 For .Net4.0.Zip (5.4 MB)

Your issue “CELLSNET-46062” should be fixed in it.

Let us know your feedback.

The issues you have found earlier (filed as CELLSNET-46062) have been fixed in Aspose.Cells for .NET v20.6. you may also get the version @ NuGet repos. here (NuGet Gallery | Aspose.Cells 20.6.0).This message was posted using Bugs notification tool by Amjad_Sahi

The issues you have found earlier (filed as CELLSNET-46062) have been fixed in Aspose.Cells for .NET v20.6. you may also get the version @ NuGet repos. here (NuGet Gallery | Aspose.Cells 20.6.0).This message was posted using Bugs notification tool by Amjad_Sahi

Hi,

Thanks for the updates. I tried to upgrade today and can see Font class is now also TextOptions which has access to Latin and FarEast font names.

However, there’s a regression related to the font names that blocked my upgrade. I noticed the font name of legend entries are incorrect in the new version.

Code:
var workbook = new Workbook(@".\test.xlsx");
var chart = workbook.Worksheets[0].Charts[0];
// var fontLatinNameOfLegendEntry = ((TextOptions)chart.NSeries[0].LegendEntry.Font).LatinName;
var fontNameOfLegendEntry = chart.NSeries[0].LegendEntry.Font.Name; // Returns correctly as ‘Arial’ in 20.3.0 but wrong ‘Calibri’ in 20.6.0

Supposedly the font name of the series legend entry should be ‘Arial’ which was the case in the old Aspose version, however, in the new version, it is using ‘Calibri’.

I’ve attached my test file here:
test.zip (28.1 KB)

Could you please take a look?

Thanks,

@ServerSide527,

Thanks for the details and source file.

As you already escalated it in enterprise support desk, so you may follow up your thread to get updates or fixed version. Hopefully your issue will be fixed soon.