|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Resource
com.cete.dynamicpdf.Font
com.cete.dynamicpdf.text.FormFont
com.cete.dynamicpdf.text.CoreLatinFont
com.cete.dynamicpdf.text.TimesRoman
public class TimesRoman
Represents the core PDF Times Roman font.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
|---|---|
TimesRoman(SingleByteEncoder encoder)
Initializes a new instance of the TimesRoman font class. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFormFontName()
Gets the four character name of the font. |
float |
getKernValue(char left,
char right)
Returns the kern value correspoding to the given glyph combination. |
boolean |
hasKerning()
Returns whether the font has inbuilt kerning pairs. |
| Methods inherited from class com.cete.dynamicpdf.text.CoreLatinFont |
|---|
draw, getAscender, getDescender, getGlyphWidth, getLineBreaker, getLineGap, getName, getRequiredPdfObjects, getSingleByteEncoder |
| 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 |
| Constructor Detail |
|---|
public TimesRoman(SingleByteEncoder encoder)
TimesRoman font class.
encoder - Single byte encoding to use for the font.| Method Detail |
|---|
public java.lang.String getFormFontName()
getFormFontName in class FormFontpublic boolean hasKerning()
hasKerning in class Font
public float getKernValue(char left,
char right)
getKernValue in class Fontleft - Left glyph.right - Right glyph.
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||