|
jPodRenderer PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.platform.cwt.font.NullPlatformFont
public class NullPlatformFont
| Method Summary | |
|---|---|
IPlatformGlyphs |
createPlatformGlyphs(de.intarsys.pdf.font.PDGlyphs glyphs)
|
int |
getAscent()
The ascent of this font over the baseline. |
Rectangle2D |
getBBox()
A bounding box for all glyphs in the font. |
int |
getCharIndex(char unicode)
The index into the font characters for the unicode
character. |
int |
getDescent()
The descent of this font below the baseline. |
int |
getHeight()
The height of this font. |
Object |
getImpl()
|
de.intarsys.pdf.font.PDFont |
getPDFont()
The associated PDFont. |
int |
getUnderlinePosition()
The underline position in PDF glyph space. |
int |
getUnderlineThickness()
The underline thickness in PDF glyph space. |
boolean |
isBoldStyle()
true if this font is in a bold style. |
boolean |
isItalicStyle()
true if this font is in in italic style. |
boolean |
isMonospaced()
true if this font has fixed width characters. |
boolean |
isSymbolFont()
true if this font has an internal encoding and shouldn't
be accessed using normal characters codes. |
void |
saveState(ICSPlatformDevice device,
de.intarsys.pdf.content.GraphicsState oldState,
de.intarsys.pdf.content.GraphicsState newState)
This is forwarded from the ICSPlatformDevice in case the receiver
needs some special actions upon saving the graphics state (operator "q"). |
void |
textStateChanged(ICSPlatformDevice device)
This is forwarded from the ICSPlatformDevice to indicate a change
in the device text state. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public IPlatformGlyphs createPlatformGlyphs(de.intarsys.pdf.font.PDGlyphs glyphs)
createPlatformGlyphs in interface IPlatformGlyphsFactorypublic int getAscent()
IPlatformFont
getAscent in interface IPlatformFontpublic Rectangle2D getBBox()
IPlatformFont
getBBox in interface IPlatformFontpublic int getCharIndex(char unicode)
IPlatformFontunicode
character.
This is needed for example when creating Type0 fonts with TrueType CID fonts.
getCharIndex in interface IPlatformFontunicode
character.public int getDescent()
IPlatformFont
getDescent in interface IPlatformFontpublic int getHeight()
IPlatformFont
getHeight in interface IPlatformFontpublic Object getImpl()
public de.intarsys.pdf.font.PDFont getPDFont()
IPlatformFontPDFont.
getPDFont in interface IPlatformFontPDFont.public int getUnderlinePosition()
IPlatformFont
getUnderlinePosition in interface IPlatformFontpublic int getUnderlineThickness()
IPlatformFont
getUnderlineThickness in interface IPlatformFontpublic boolean isBoldStyle()
IPlatformFonttrue if this font is in a bold style.
isBoldStyle in interface IPlatformFonttrue if this font is in a bold style.public boolean isItalicStyle()
IPlatformFonttrue if this font is in in italic style.
isItalicStyle in interface IPlatformFonttrue if this font is in in italic style.public boolean isMonospaced()
IPlatformFonttrue if this font has fixed width characters.
isMonospaced in interface IPlatformFonttrue if this font has fixed width characters.public boolean isSymbolFont()
IPlatformFonttrue if this font has an internal encoding and shouldn't
be accessed using normal characters codes.
isSymbolFont in interface IPlatformFonttrue if this font has an internal encoding
public void saveState(ICSPlatformDevice device,
de.intarsys.pdf.content.GraphicsState oldState,
de.intarsys.pdf.content.GraphicsState newState)
IPlatformFontICSPlatformDevice in case the receiver
needs some special actions upon saving the graphics state (operator "q").
saveState in interface IPlatformFontpublic void textStateChanged(ICSPlatformDevice device)
IPlatformFontICSPlatformDevice to indicate a change
in the device text state.
Upon font change, this is called twice, one time for the old font and onetime for the new font.
textStateChanged in interface IPlatformFont
|
jPodRenderer PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||