XpsGlyphs glyphs = xps.insertGlyphs(0, font, fontsize, XpsFontStyle.Regular, x, y, context);
Exception in thread “main” class com.aspose.page.internal.l16l.I114: Index out of range: 0.
com.aspose.xps.XpsElement.lif(Unknown Source)
com.aspose.xps.XpsDocument.lif(Unknown Source)
com.aspose.xps.XpsDocument.insert(Unknown Source)
com.aspose.xps.XpsDocument.insertGlyphs(Unknown Source)
Would you please also share the complete code snippet that you are trying at your side. We will test the scenario in our environment and address it accordingly.
We have logged an issue as PAGEJAVA-71 in our issue tracking system for the sake for further investigation. We will look into details of this scenario and keep you posted with the status of ticket resolution. Please spare us little time.
As the issue has been logged in our issue tracking system, we will further investigate the reasons behind this. As soon as the issue is resolved, we will inform you within this forum thread. Please be patient and spare us little time.
We would like to share with you that your issue has been resolved. Please download and use Aspose.Page for Java 19.12 and in case you face any other issue, please let us know.