org.apache.fontbox.util.autodetect
Class MacFontDirFinder

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

public class MacFontDirFinder
extends NativeFontDirFinder

Mac font directory finder. This class is based on a class provided by Apache FOP. see org.apache.fop.fonts.autodetect.MacFontDirFinder


Constructor Summary
MacFontDirFinder()
           
 
Method Summary
 Map<String,String> getCommonTTFMapping()
          Provides a list of platform specific ttf name mappings.
protected  String[] getSearchableDirectories()
          Some guesses at possible unix font directory locations.
 
Methods inherited from class org.apache.fontbox.util.autodetect.NativeFontDirFinder
find
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacFontDirFinder

public MacFontDirFinder()
Method Detail

getSearchableDirectories

protected String[] getSearchableDirectories()
Some guesses at possible unix font directory locations.

Specified by:
getSearchableDirectories in class NativeFontDirFinder
Returns:
a array of possible font directory locations

getCommonTTFMapping

public 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.