Class UnixFontDirFinder
- java.lang.Object
-
- org.apache.fontbox.util.autodetect.NativeFontDirFinder
-
- org.apache.fontbox.util.autodetect.UnixFontDirFinder
-
- All Implemented Interfaces:
FontDirFinder
public class UnixFontDirFinder extends NativeFontDirFinder
Unix font directory finder. This class is based on a class provided by Apache FOP. see org.apache.fop.fonts.autodetect.UnixFontDirFinder
-
-
Constructor Summary
Constructors Constructor Description UnixFontDirFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.protected java.lang.String[]
getSearchableDirectories()
Some guesses at possible unix font directory locations.-
Methods inherited from class org.apache.fontbox.util.autodetect.NativeFontDirFinder
find
-
-
-
-
Method Detail
-
getSearchableDirectories
protected java.lang.String[] getSearchableDirectories()
Some guesses at possible unix font directory locations.- Specified by:
getSearchableDirectories
in classNativeFontDirFinder
- Returns:
- a list of possible font locations
-
getCommonTTFMapping
public java.util.Map<java.lang.String,java.lang.String> getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.- Returns:
- a fontname mapping
-
-