de.dante.extex.interpreter.type.font
Interface FontConvertible

All Known Implementing Classes:
FontCode, FontPrimitive, NamedFont, NullfontPrimitive

public interface FontConvertible

This is an interface which describes the feature to be convertible into a font.

TODO missing documentation

The formal description is the following:

    ⟨font⟩
        →  ⟨loaded font⟩
         |   \textfont ⟨8-bit number⟩
         |   \scriptfont ⟨8-bit number⟩
         |   \scriptscriptfont ⟨8-bit number⟩
         |   \font
  

Version:
$Revision: 1.13 $
Author:
Gerd Neugebauer

Method Summary
 Font convertFont(Context context, TokenSource source, Typesetter typesetter)
          Convert some primitive value into a font.
 

Method Detail

convertFont

public Font convertFont(Context context,
                        TokenSource source,
                        Typesetter typesetter)
                 throws InterpreterException
Convert some primitive value into a font.

Parameters:
context - the interpreter context
source - the source for new tokens
typesetter - the typesetter
Returns:
the converted value
Throws:
InterpreterException - In case of an error