Package org.mapfish.print.config
Class CustomFontLoader
java.lang.Object
org.mapfish.print.config.CustomFontLoader
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
ConstructorsConstructorDescriptionCustomFontLoader
(Set<String> paths) Load the custom fonts when the application is started. -
Method Summary
-
Constructor Details
-
CustomFontLoader
Load the custom fonts when the application is started.- Parameters:
paths
- A list of paths to ttf font files.
-