Class CustomFontLoader


  • public final class CustomFontLoader
    extends java.lang.Object
    Used to load custom fonts.

    To add a custom font, the file `mapfish-spring-custom-fonts.xml` must be overridden.

    Warning: the fonts added using this are not available to Jasper Reports. They can only be used in layer styles.

    • Constructor Summary

      Constructors 
      Constructor Description
      CustomFontLoader​(java.util.Set<java.lang.String> paths)
      Load the custom fonts when the application is started.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomFontLoader

        public CustomFontLoader​(java.util.Set<java.lang.String> paths)
        Load the custom fonts when the application is started.
        Parameters:
        paths - A list of paths to ttf font files.