org.apache.fontbox.util.autodetect
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
 List<File> find()
          Finds a list of font files.
 Map<String,String> getCommonTTFMapping()
          Provides a list of platform specific ttf name mappings.
 

Method Detail

find

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

Returns:
list of font files.
Throws:
IOException - In case of an I/O problem

getCommonTTFMapping

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

Returns:
a fontname mapping


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