Loading fonts from S3 in AWS Java lambda

Hello,

We are trying to implement our document generation and document modification modules using AWS lambda in java. We have copied all the required true type fonts to S3 bucket and load them from there.

We are trying to use StreamFontSource and it appears that class has some unresolved issue. There is an abstract method “zzZpx” which we cannot override. Could you please suggest if there is a workaround to this problem or if there is an alternate way to load fonts from S3 bucket.

We are using the latest version of aspose words and pdf for java

Attached image has the error we are noticing. We also pasted it down here.

The method S3FontSource.zzZpx() does not override the inherited method from FontSourceBase since it is private to a different
package
- The method zzZpx() of type S3FontSource must override or implement a supertype method

image.png (144.1 KB)

@judiciary

You can check related details in following article of API documentation related to AWS integration:

Furthermore, we have moved your inquiry to Aspose.Words category where you will be assisted accordingly.

Thank you for your response. The documentation referred was for .NET and we are trying to follow a similar implementation for Java and that is when we are experiencing this issue.

We are using aspose-words-20.9-jdk17.jar

@judiciary We managed to reproduce the problem and logged it as WORDSJAVA-2494. We will let you know once it is resolved. We will keep you updated on the status of the linked issue.

The issues you have found earlier have been fixed in this Aspose.Words for .NET 20.12 update and this Aspose.Words for Java 20.12 update.