com.aspose.slides
Class FontsLoader

java.lang.Object
  extended by com.aspose.slides.FontsLoader

public class FontsLoader
extends java.lang.Object

Class for loading custom fonts defined by user. Should be used before creating any presentation objects.


Constructor Summary
FontsLoader()
           
 
Method Summary
static void clearCache()
           Releases all custom fonts defined by user This method needs to clear cache with custom fonts defined by user.
static void loadExternalFonts(java.lang.String[] paths)
           Adds additional folders to seek fonts.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontsLoader

public FontsLoader()
Method Detail

loadExternalFonts

public static void loadExternalFonts(java.lang.String[] paths)

Adds additional folders to seek fonts.

Parameters:
directories - Directories to read additional fonts.

clearCache

public static void clearCache()

Releases all custom fonts defined by user


This method needs to clear cache with custom fonts defined by user.