|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.font.ConsumerFont4a
public class ConsumerFont4a
A ConsumerFont represents a Font as used by a specific FontConsumer. The key fields are therefore a Font and a FontConsumer. The main responsibilities of this class are:
| Constructor Summary | |
|---|---|
ConsumerFont4a(Font4a font,
FontConsumer4a consumer)
Constructor. |
|
| Method Summary | |
|---|---|
org.axsl.ps.Encoding |
findEncoding(RegisteredFontDesc rfd,
int codePoint)
Find the encoding that should be used for the seletion of a font use. |
FontConsumer4a |
getFontConsumer()
Return the parent font consumer. |
FontUse4a |
getFontUse(RegisteredFontDesc rfd,
org.axsl.ps.Encoding encoding)
Returns the described FontUse instance, creating it if necessary. |
List<FontUse4a> |
getFontUses()
Return the collection of child font uses. |
Font4a |
getFOrayFont()
Returns the parent font. |
FontServer4a |
getFOrayFontServer()
Return the font server. |
FreeStandingFont |
getFreeStandingFont()
Returns the font cast as a free-standing font. |
org.apache.commons.logging.Log |
getLogger()
Return the logger. |
Subset |
getSubset()
Return the subset information for this font. |
SystemFont |
getSystemFont()
Returns the font cast as a system font. |
protected void |
optimize()
Optimize the information about this font in preparation for output. |
FontUse4a |
selectFontUse(RegisteredFontDesc rfd,
int codePoint)
Select a font use based on the registered font description and a Unicode code point. |
boolean |
subSetting()
Indicates whether this font is being subsetted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumerFont4a(Font4a font,
FontConsumer4a consumer)
font - The parent font.consumer - The parent font consumer.| Method Detail |
|---|
public Font4a getFOrayFont()
public FreeStandingFont getFreeStandingFont()
public SystemFont getSystemFont()
public FontConsumer4a getFontConsumer()
public Subset getSubset()
public boolean subSetting()
public org.apache.commons.logging.Log getLogger()
public FontServer4a getFOrayFontServer()
protected void optimize()
public List<FontUse4a> getFontUses()
public FontUse4a selectFontUse(RegisteredFontDesc rfd,
int codePoint)
rfd - The font description that should be used for the selection.codePoint - The Unicode code point that should be encodable by the
returned font use.
public FontUse4a getFontUse(RegisteredFontDesc rfd,
org.axsl.ps.Encoding encoding)
rfd - The description for which the font use should be retrieved
or created.encoding - The encoding for which the font use should be retrieved
or created.
public org.axsl.ps.Encoding findEncoding(RegisteredFontDesc rfd,
int codePoint)
rfd - The font description.codePoint - The Unicode code point.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||