We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Supply fonts to Diagram without providing a set of physical directories | Aspose.Diagram for Java

I’m currently using Aspose.Diagrams v 19.7 for Java.

Aspose Words, Cells, and Slides for Java all allow font sources from memory (see: com.aspose.words.MemoryFontSource + setFontSources.) Diagram seems to only support fonts on disk (i.e. com.aspose.diagram.setFontDirs.)

Is there any way to supply fonts to Diagram without providing a set of physical directories? A lot of other Aspose solutions seem to supply something like MemoryFontSource… just wondering if I’m missing something, or if Diagrams doesn’t support them yet.


– Jon


We have logged an investigation ticket as DIAGRAMJAVA-50670 in our issue tracking system. We will further investigate the feasibility of the feature that you require and will share our feedback as soon as the investigation is complete. Please be patient and spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMJAVA-50670) have been fixed in Aspose.Diagram for Java 20.1.