org.extex.typesetter
Interface CharNodeBuilder

All Known Implementing Classes:
LoadableTfmFont, LoadableVfFont

public interface CharNodeBuilder

This interface describes the ability to convert a Unicode character into a CharNode.

Version:
$Revision: 6146 $
Author:
Gerd Neugebauer

Method Summary
 CharNode buildCharNode(UnicodeChar uc, TypesettingContext tc, NodeFactory factory, TypesettingContextFactory tcFactory)
          Create a node for a Unicode character.
 

Method Detail

buildCharNode

CharNode buildCharNode(UnicodeChar uc,
                       TypesettingContext tc,
                       NodeFactory factory,
                       TypesettingContextFactory tcFactory)
Create a node for a Unicode character. Note that the result can either be a simple CharNode or a VirtualCharNode. In the latter case a composition of several components can be contained.

Parameters:
uc - the Unicode character
tc - the default typesetting context to use
factory - the factory to acquire new nodes from
tcFactory - the factor for new typesetting contexts
Returns:
the node for the character or null if none can be determined