Hi,
Thanks for your posting and using Aspose.Cells for .NET.
We have run your sample code and found out that it is working fine. When you click on the cell A1, you see the font name is B Traffic and font size is 20.
Please see the screenshot for your reference.
Screenshot:
You are right about font name and size but the correct font is like this. not the one in your screenshot. please do as I said in the first post and see the difference. "you can see correct font when already have installed it and change the cell’s font to another font and then change it again to “B Traffic”.You can see screenshot with correct font in the attachment. I guess the font in your screenshot is Arial. Aspose.Cells has changed the font name of the cell to “B Traffic” but the real visible font of the cell is Arial.
Do you see the problem? Is there any solution?
I have found the source of the problem. if you open the xlsx file generated with the Aspose.Cells With WinRar and open styles.xml there is an XML node for the “B Traffic” font like this.
This problem is not worth enough to have an answer? I’ve found the problem and I have found the answer so you just need to put it in your code.
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
It seems your issue is related to this issue which you reported earlier relating to pdf and B traffic font.
https://forum.aspose.com/t/89905
We have already logged your issue in our database and it is fixed. Please spare us some time. We will soon provide you a fix.
OK. Thank you for the answer. I think they are related but are not the same. So I’ll wait for the fix and report the results.
[quote user=“alionline759”]I have found the source of the problem. if you open the xlsx file generated with the Aspose.Cells With WinRar and open styles.xml there is an XML node for the “B Traffic” font like this.
Hi Ali,
Thanks for your posting and using Aspose.Cells.
We were able to find the source of this issue as mentioned in your post. B Traffic font is not working fine but when the value of the Styles.xml is changed, it starts working fine.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSNET-42550.
The issues you have found earlier (filed as CELLSNET-42550) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Thanks for the fix.
Hi Ali,
Thanks for your feedback and using Aspose.Cells.
It is good to know that your issue with “B Traffic” font is now fixed. Let us know if you face any other issue with the “B Traffic” font.
For “B Nazanin” font, could you provide us more information. For example, sample xlsx files and screenshots, the MS-Excel generated PDF and Aspose.Cells generated PDF.
It will help us look into your issue more closely and we will be able to fix it asap.
Hi,
Hi Ali,
Thanks for using Aspose.Cells.
Could you provide the fonts which are not working? Please provide us source xls/xlsx files that are using the fonts that are not working properly so that we could log this issue in our database for investigation and fix.
Development team will look into it and decide if it should add any Charset property or it could be handled in some other way. Thank you for your cooperation.