Interface FontDirFinder
-
- All Known Implementing Classes:
MacFontDirFinder
,NativeFontDirFinder
,UnixFontDirFinder
,WindowsFontDirFinder
public interface FontDirFinder
Implementers provide find method for searching native operating system for available fonts. This class is based on a class provided by Apache FOP. see org.apache.fop.fonts.autodetect.FontDirFinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.io.File>
find()
Finds a list of font files.java.util.Map<java.lang.String,java.lang.String>
getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.
-
-
-
Method Detail
-
find
java.util.List<java.io.File> find() throws java.io.IOException
Finds a list of font files.- Returns:
- list of font files.
- Throws:
java.io.IOException
- In case of an I/O problem
-
getCommonTTFMapping
java.util.Map<java.lang.String,java.lang.String> getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.- Returns:
- a fontname mapping
-
-