cancel
Showing results for 
Search instead for 
Did you mean: 

Using system fonts in SAP NEO SAP Cloud

0 Kudos

Hello,

I use the aspose slides lib in a SAP NEO Java appl.

The lib try to access the systems fonts. See stack below.

Someone have a similar problem with the system fonts and a solution ?

Regards,

Gerald

Caused by: com.aspose.slides.exceptions.FileNotFoundException: File not found File: /etc/fonts/conf.d/69-unifont.conf at com.aspose.slides.internal.iv.int.<init>(Unknown Source) at com.aspose.slides.internal.iv.int.<init>(Unknown Source) at com.aspose.slides.internal.iv.int.<init>(Unknown Source) at com.aspose.slides.internal.e5.long.<init>(Unknown Source) at com.aspose.slides.internal.e5.long.<init>(Unknown Source) at com.aspose.slides.internal.e5.long.<init>(Unknown Source) at com.aspose.slides.internal.e5.try.int(Unknown Source) at com.aspose.slides.internal.e5.super.<init>(Unknown Source) at com.aspose.slides.internal.e5.super.<init>(Unknown Source) at com.aspose.slides.internal.jz.if.for(Unknown Source) at com.aspose.slides.internal.jz.if.do(Unknown Source) at com.aspose.slides.internal.jz.if.do(Unknown Source) at com.aspose.slides.internal.gq.int.int(Unknown Source) at com.aspose.slides.internal.gq.int.do(Unknown Source) at com.aspose.slides.internal.ey.long.<clinit>(Unknown Source) ... 86 common frames omitted Caused by: java.io.FileNotFoundException: /etc/fonts/conf.d/69-unifont.conf (Permission denied) at java.io.RandomAccessFile.open0(Native Method) at java.io.RandomAccessFile.open(RandomAccessFile.java:316) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:124) ... 101 common frames omitted

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerald,

Have you tried including the fonts on your project's folder structure and referencing it from there using the following technique:

https://docs.aspose.com/display/slidesjava/Managing+Fonts#ManagingFonts-ManagingFontsExternally

Best regards,
Ivan