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

Free Support Forum - aspose.com

Font defaults to Calibri (Java 23.1)

Dear Aspose team,

I am running through one of the examples (https://docs.aspose.com/diagram/java/working-with-text/) for working with text specifically the " Adding Text and Styles Programming Sample"
section, however, I’m running into an issue where regardless of the value entered in the setValue() parameters (shape.getChars().get(0).getFont().setValue(“this value”) it seems to default to Calibri.

After some digging, I noticed that this seemed to be an issue with the .Net version as well (Font defaults to Calibri irrespective of Style.Font) which seems to have been resolved.

I would just like to know if this has been fixed in the Java version as well, and if so what might I be doing wrong based on the example in the docs mentioned above.

Thanks

@joshualotz81

We have logged an investigation ticket as DIAGRAMJAVA-51073 to analyze whether this issue is a regression or it needs to be fixed. We will let you know as soon as the ticket is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

Good day Aspose team,

Is there perhaps an update regarding ticket DIAGRAMJAVA-51073

Thanks

@joshualotz81

We are afraid that the ticket DIAGRAMJAVA-51073 could not get fully investigated yet. However, we will surely inform you via this forum thread once it is resolved. Please spare us some time.

We are sorry for the inconvenience.