Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
This article describes:
Aspose.Cells searches for fonts in the Windows\Fonts folder. This default setting works most of the time, so only specify your own fonts folder if you really need to.
By default, Aspose.Cells API looks for the fonts in all of the following locations, although different Linux distributions store fonts in different folders.
Aspose.Cells APIs have exposed many factory methods for the FontConfigs class to specify the fonts or fonts folders as described below.
String that specifies the location of the fonts directory, whereas the second parameter of type Boolean directs the Aspose.Cells APIs to search the folders recursively for font files.String, so you may specify many font directories using this approach. You may also direct the Aspose.Cells APIs to search the folders recursively by specifying true as the second parameter.FontSourceBase for you to specify a list of individual fonts' locations.
Starting from Aspose.Cells for Java 8.1.0, setting the JVM argument as -DAspose.Cells.FontDirExc=“YourFontDir” will ensure that the Aspose.Cells API will only use the fonts location as specified.
Set the specified argument using the System.setProperty method as shown below.
System.setProperty("Aspose.Cells.FontDirExc", "FontDirSet");
Please note the following:
"FontDirSet" should be the complete path to the folder containing the required fonts.Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.