Class WindowsFontDirFinder
- java.lang.Object
-
- org.apache.fontbox.util.autodetect.WindowsFontDirFinder
-
- All Implemented Interfaces:
FontDirFinder
public class WindowsFontDirFinder extends java.lang.Object implements FontDirFinder
FontFinder for native Windows platforms. This class is based on a class provided by Apache FOP. see org.apache.fop.fonts.autodetect.WindowsFontDirFinder
-
-
Constructor Summary
Constructors Constructor Description WindowsFontDirFinder()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.util.List<java.io.File> find()
Finds a list of font files.- Specified by:
find
in interfaceFontDirFinder
- Returns:
- a list of detected font files
-
getCommonTTFMapping
public java.util.Map<java.lang.String,java.lang.String> getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.- Specified by:
getCommonTTFMapping
in interfaceFontDirFinder
- Returns:
- a fontname mapping
-
-