on 06-27-2019 1:48 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.