|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.backend.documentWriter.postscript.util.FontManager
The font manager keeps track of the fonts and characters used.
Constructor Summary | |
FontManager()
Creates a new object. |
Method Summary | |
java.lang.String |
add(Font font,
UnicodeChar c)
Receive the information that a character in a certain font has been used and should be remembered. |
void |
clear()
Clear the memory and forget everything about fonts used. |
Font[] |
listFonts()
Getter for the list of fonts. |
void |
write(java.io.OutputStream stream)
Write all fonts to a given PostScript stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FontManager()
Method Detail |
public java.lang.String add(Font font, UnicodeChar c)
font
- the font which is usedc
- the character in the font which is used
true
iff the font is not the one previously
reportedpublic void clear()
public Font[] listFonts()
public void write(java.io.OutputStream stream) throws java.io.IOException
stream
- the target stream
java.io.IOException
- in case of an IO error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |