|
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.freetype.FreetypeFont
public class FreetypeFont
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. |
de.intarsys.cwt.freetype.Face |
getFace()
|
int |
getHeight()
The height of this font. |
Object |
getImpl()
|
de.intarsys.pdf.font.PDFont |
getPDFont()
The associated PDFont . |
double |
getTextSpaceFactor()
|
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. |
boolean |
isSymbolic()
|
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) throws PlatformFontException
createPlatformGlyphs
in interface IPlatformGlyphsFactory
PlatformFontException
public int getAscent()
IPlatformFont
getAscent
in interface IPlatformFont
public Rectangle2D getBBox()
IPlatformFont
getBBox
in interface IPlatformFont
public int getCharIndex(char unicode)
IPlatformFont
unicode
character.
This is needed for example when creating Type0 fonts with TrueType CID fonts.
getCharIndex
in interface IPlatformFont
unicode
character.public int getDescent()
IPlatformFont
getDescent
in interface IPlatformFont
public de.intarsys.cwt.freetype.Face getFace()
public int getHeight()
IPlatformFont
getHeight
in interface IPlatformFont
public Object getImpl()
public de.intarsys.pdf.font.PDFont getPDFont()
IPlatformFont
PDFont
.
getPDFont
in interface IPlatformFont
PDFont
.public double getTextSpaceFactor()
public int getUnderlinePosition()
IPlatformFont
getUnderlinePosition
in interface IPlatformFont
public int getUnderlineThickness()
IPlatformFont
getUnderlineThickness
in interface IPlatformFont
public boolean isBoldStyle()
IPlatformFont
true
if this font is in a bold style.
isBoldStyle
in interface IPlatformFont
true
if this font is in a bold style.public boolean isItalicStyle()
IPlatformFont
true
if this font is in in italic style.
isItalicStyle
in interface IPlatformFont
true
if this font is in in italic style.public boolean isMonospaced()
IPlatformFont
true
if this font has fixed width characters.
isMonospaced
in interface IPlatformFont
true
if this font has fixed width characters.public boolean isSymbolFont()
IPlatformFont
true
if this font has an internal encoding and shouldn't
be accessed using normal characters codes.
isSymbolFont
in interface IPlatformFont
true
if this font has an internal encodingpublic boolean isSymbolic()
public void saveState(ICSPlatformDevice device, de.intarsys.pdf.content.GraphicsState oldState, de.intarsys.pdf.content.GraphicsState newState)
IPlatformFont
ICSPlatformDevice
in case the receiver
needs some special actions upon saving the graphics state (operator "q").
saveState
in interface IPlatformFont
public void textStateChanged(ICSPlatformDevice device)
IPlatformFont
ICSPlatformDevice
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 |