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

    Modifier and Type
    Method
    Description
    Finds a list of font files.
    Provides a list of platform specific ttf name mappings.
  • Method Details

    • 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