Hello,
We are facing the issue where some cells in the workbook that contain a mix of regular font and the same font in superscript, are not shown properly when exported to EMF image.
This behavior can be seen in the Aspose Cells for Java version 24.4
(also tried latest 24.8),
the attached SuperscriptText.xlsx file, and the attached simple Java code.
Environment Details:
Aspose Cells for Java 24.4 (also tried with latest version 24.8)
Aspose Cells for Java 21.3 (for second run)
Java version 1.8.0_411b09
Windows 11 OS (but also reproducible under Linux).
File description in the superscriptText.zip attachment contains:
- TestImageFromNamedRangeSuperscript.java: Small java test to illustrate the issue;
- SuperscriptText.xlsx: Excel workbook to be used by the sample code;
- SuperscriptText.xlsx_Export_Rng_Cells24.4.0.emf: Image output file produced from the sample under Aspose Cells 24.4.
- SuperscriptText.xlsx_Export_Rng_Cells24.6.0.emf: Image output file produced from the sample under Aspose Cells 24.8.
- SuperscriptText.xlsx_Export_Rng_Cells24.2.0.png: Image output in PNG format produced from the sample under Aspose Cells 24.2 - note that PNG image displayed superscript number properly.
Can you please take a look and let us know if there is any workaround.
Thank you.
superscriptText.zip (26.9 KB)