Free Support Forum - aspose.com

Arial MT Std throw error when slide number format with font Arial text fill = 'gradient'

Aspose Slides for Java 20.6affected slide.zip (93.6 KB)

Has problem to convert attached slide using Aspose Slides for Java 20.6 running on Linux.
It looks “Arial MT Std” has problem to handle such format “font Arial, text fill = ’ gradient '” If change “gradient” to “solid fill”, it works.
Also, the same file works OK if we use font “Arial Unicode MS”, "Arimo” , instead of "Arial MT Std "

Please help.

Thanks
Yu

@yuchen,

Can you please share what operation you are performing when this error is thrown. Please share the working sample code reproducing the issue on your end.

SlidesToPDF.zip (596 Bytes)

Thanks for your quick response. We convert the powerpoint to PDF. I provided some code example to show how we use.

Regards
Yu

@yuchen,

Can you please share the working sample code its using custom classes. I can remove the timeout token portion but you are also setting font substitution rule too. Therefore, please share a working sample project that is reproducing issue on your end.

PptIssueExample.zip (3.2 KB)
slide.zip (93.6 KB)
The jar file is too big to attach. If you build the project, it can be run via: java -jar PptIssueExample-1.0.jar slide.pptx

Thanks
Yu

@yuchen,

Thank you for sharing the information with us. A ticket with ID SLIDESJAVA-38157 has been created as investigation to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

@yuchen,

We have tried and not been able to reproduce this exception on Ubuntu server. Could you please share following information about your environment details:

  • OS version
  • JDK version
  • full StackTrace
  • fc-list command output
  • list of used fonts (if he used FontsLoader)
  • generated PDF file