We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image rendered incorrecly when a cell has Egyptian pound symbol

Hi,



When rendering a sheet with Egyptian pound symbol (ج.م), the image was rendered incorrectly.



Code:

var book = new Workbook(@“test.xlsx”);

Worksheet sheet = book.Worksheets[0];

var options = new ImageOrPrintOptions

{

ImageFormat = ImageFormat.Emf,

OnlyArea = true,

OnePagePerSheet = true

};

SheetRender sr = new SheetRender(sheet, options);

sr.ToImage(0, @“out.emf”);



You can find the text after the symbol is reversed.



Thanks

Hi,


Thanks for providing us template file, output image file and sample code.

After an initial test, I am able to reproduce the issue as you mentioned by using your sample code with your template file. I found that image is rendered incorrectly when a cell has Egyptian pound symbol:
e.g
Sample code:

var book = new Workbook(“e:\test2\test.xlsx”);
Worksheet sheet = book.Worksheets[0];
var options = new ImageOrPrintOptions
{
ImageFormat = ImageFormat.Emf,
OnlyArea = true,
OnePagePerSheet = true
};
SheetRender sr = new SheetRender(sheet, options);
sr.ToImage(0, “e:\test2\out1.emf”);

I have logged a ticket with an id “CELLSNET-45019” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you.

Hi,


This is to update you that your issue logged earlier as “CELLSNET-45019” has been fixed. We will soon provide you the fix here for your testing.

Keep in touch.

Thank you.

Hi,


Please try our latest fix/version:

Aspose.Cells for .NET v16.12.6 (.NET 2.0) compiled in .NET Framework 2.0.
Aspose.Cells for .NET v16.12.6 (.NET 4.0) compiled in .NET Framework 4.0.

(Note: please use any of the fix for your underlying .NET framework version)

We have fixed your issue now.

Let us know your feedback.

Thank you.

The issues you have found earlier (filed as CELLSNET-45019) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi,


I appreciate you fixing the issue with the Egyptian pound symbol.
However the same issue still exists for other Arabic characters such as the riyal symbol (﷼).

I have attached a new test file that can be run with the same code as above.

Hi,


Thanks for the template file.

After an initial test, I observed the issue as you mentioned by using your original sample code with your template file using v17.5.x (latest fix/version). I found that image is rendered incorrectly when a cell has Arabic currency name “(﷼)”. I noticed the “﷼” is fine but the braces around it are rendered incorrectly, i.e., “)﷼(”. See the screenshot for your reference:
http://prntscr.com/fe9x2f

I have logged a ticket with an id “CELLSNET-45399” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you.
Hi,

Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSNET-45399 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Hi,


Please try our latest version/fix: Aspose.Cells for .NET v17.5.7:
Aspose.Cells for .NET v17.5.7 (.NET 2.0)
Aspose.Cells for .NET v17.5.7 (.NET 4.0)
(Note: please choose any of the above fixes for your underlying .NET framework version).

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

Let us know your feedback.

Thank you.

The issues you have found earlier (filed as CELLSNET-45399) have been fixed in Aspose.Cells for .NET 17.6.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.