|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Resource com.cete.dynamicpdf.Font com.cete.dynamicpdf.text.FormFont com.cete.dynamicpdf.text.CoreLatinFont
public abstract class CoreLatinFont
Represents a core latin font.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Method Summary | |
---|---|
void |
draw(DocumentWriter writer)
Draws the resource to the given DocumentWriter object. |
short |
getAscender()
Gets the ascender for the font. |
short |
getDescender()
Gets the descender for the font. |
int |
getGlyphWidth(char glyph)
Returns the mwidth of a glyph. |
LineBreaker |
getLineBreaker()
Gets the default line breaker for the font. |
short |
getLineGap()
Gets the line gap for the font. |
java.lang.String |
getName()
Gets the name of the font. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the resource. |
SingleByteEncoder |
getSingleByteEncoder()
Gets the single byte encoder for the font. |
Methods inherited from class com.cete.dynamicpdf.text.FormFont |
---|
getFormFontName |
Methods inherited from class com.cete.dynamicpdf.Resource |
---|
getUid, newUid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void draw(DocumentWriter writer)
Resource
DocumentWriter
object.
draw
in class Resource
writer
- DocumentWriter
object to receive the resource's output.DocumentWriter
public int getGlyphWidth(char glyph)
Font
getGlyphWidth
in class Font
glyph
- char Glyph whose mwidth is to be returned.
public short getDescender()
Font
getDescender
in class Font
public short getAscender()
Font
getAscender
in class Font
public short getLineGap()
Font
getLineGap
in class Font
public int getRequiredPdfObjects()
Resource
getRequiredPdfObjects
in class Resource
public java.lang.String getName()
Font
getName
in class Font
public SingleByteEncoder getSingleByteEncoder()
public LineBreaker getLineBreaker()
getLineBreaker
in class Font
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |