@zyx,
Thank you for the query. Unfortunately, I have not managed to reproduce the error. To investigate this case further, please share and specify the following:
comprehensive code example (FontConfig is an unknown symbol)
your external fonts that code example loads (FileConvertConstant.FONT_PATH)
your default font for replacing (FileConvertConstant.DEFAULT_FONT)
version of the OS on which the error appears
version of JDK that your application used
version of Aspose.Slides you used
But first, please check the issue with the latest version of Aspose.Slides.
public static void main(String[] args) {
final Presentation pres = new Presentation("/Users/zyx/Downloads/打造企业级内容的数字新基建.pptx");
PdfOptions pdfOptions = new PdfOptions();
pres.save("/Users/zyx/Desktop/aaa.pdf", SaveFormat.Pdf,pdfOptions);
}
@zyx,
I logged the issue in our tracking system with ID SLIDESJAVA-38549. Our development team will investigate this case. I will inform you of any progress.