org.extex.font.manager
Class TfmBackendFontManager

java.lang.Object
  extended by org.extex.font.manager.AbstractBackendFontManager
      extended by org.extex.font.manager.TfmBackendFontManager
All Implemented Interfaces:
BackendFontManager

public class TfmBackendFontManager
extends AbstractBackendFontManager
implements BackendFontManager

Backend font manager for a tfm font.

Version:
$Revision: 5890 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class org.extex.font.manager.AbstractBackendFontManager
factory, fontList, newRecongnizedFont, recognizedCharcterId, recognizedFont
 
Constructor Summary
TfmBackendFontManager()
          Creates a new object.
 
Method Summary
 boolean recognize(FontKey fontKey, UnicodeChar uc)
          Take a character and a font and see if they can be managed by this manager.
 
Methods inherited from class org.extex.font.manager.AbstractBackendFontManager
getRecognizedCharId, getRecognizedFont, isNewRecongnizedFont, iterate, reset, setBackendFontFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.extex.font.BackendFontManager
getRecognizedCharId, getRecognizedFont, isNewRecongnizedFont, iterate, reset, setBackendFontFactory
 

Constructor Detail

TfmBackendFontManager

public TfmBackendFontManager()
Creates a new object.

Method Detail

recognize

public boolean recognize(FontKey fontKey,
                         UnicodeChar uc)
                  throws FontException
Take a character and a font and see if they can be managed by this manager. The internal state is adjusted to report the font and the character appropriately after the invocation has returned.

Specified by:
recognize in interface BackendFontManager
Parameters:
fontKey - the font key for the character at hand
uc - the Unicode character at hand
Returns:
true iff the character is defined in the font given and a font of a requested format can be delivered.
Throws:
FontException - if a font error occurred.
See Also:
BackendFontManager.recognize(org.extex.font.FontKey, org.extex.core.UnicodeChar)