org.apache.fontbox.util.autodetect
Class WindowsFontDirFinder

java.lang.Object
  extended by org.apache.fontbox.util.autodetect.WindowsFontDirFinder
All Implemented Interfaces:
FontDirFinder

public class WindowsFontDirFinder
extends 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
WindowsFontDirFinder()
           
 
Method Summary
 List<File> find()
          Finds a list of font files.
 Map<String,String> getCommonTTFMapping()
          Provides a list of platform specific ttf name mappings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsFontDirFinder

public WindowsFontDirFinder()
Method Detail

find

public List<File> find()
Finds a list of font files.

Specified by:
find in interface FontDirFinder
Returns:
a list of detected font files

getCommonTTFMapping

public Map<String,String> getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.

Specified by:
getCommonTTFMapping in interface FontDirFinder
Returns:
a fontname mapping


Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.