Unified Typesetting API M1-20040817

Interface GlyphFactory

All Known Implementing Classes:

public interface GlyphFactory

A factory used to retrieve glyphs. Should be implemented to cache and recycle glyphs.

Christian Ziesemer

Method Summary
 Glyph getGlyph(int c, Map attributes)
          Returns a glyph for the given character.

Method Detail


public Glyph getGlyph(int c,
                      Map attributes)
Returns a glyph for the given character. The factory has to take care to fill the glyph with the attributes and the character provided. The glyph index must not set by the factory, this is done by the script.

c - The character a glyph is searched for.
attributes - The attributes of the character.
A glyph with the character and attributes set.

Unified Typesetting API M1-20040817

An inghuimische.de project.
Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details.