|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.postscript.util.FontManager
public class FontManager
The font manager keeps track of the fonts and characters used.
| Constructor Summary | |
|---|---|
FontManager(BackendFontManager manager)
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. |
BackendCharacter |
getRecognizedCharId()
Get the most recently recognized back-end character. |
java.util.Iterator<ManagerInfo> |
iterator()
Return the iterator for all recognized back-end fonts as ManagerInfo. |
void |
reset()
Clear the memory and forget everything about fonts used. |
void |
write(java.io.PrintStream 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(BackendFontManager manager)
manager - the back-end front manager| Method Detail |
|---|
public java.lang.String add(Font font,
UnicodeChar c)
throws GeneralException
font - the font which is usedc - the character in the font which is used
true iff the font is not the one previously
reported
GeneralException - in case of an errorpublic BackendCharacter getRecognizedCharId()
null if the character is not defined in the font.
BackendFontManager.getRecognizedCharId()public java.util.Iterator<ManagerInfo> iterator()
ManagerInfo. The fonts are sorted by the name.
iterator in interface java.lang.Iterable<ManagerInfo>ManagerInfo.BackendFontManager.iterate()public void reset()
public void write(java.io.PrintStream 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 | |||||||||