Class PDFSimpleFontValuesAccessor
- java.lang.Object
-
- com.adobe.fontengine.fontmanagement.PDFSimpleFontValuesAccessor
-
public abstract class PDFSimpleFontValuesAccessor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PDFSimpleFontValuesAccessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract double
getAscent()
The /Ascent of the /FontDescriptor.abstract double
getCapHeight()
The /CapHeight of the /FontDescriptor.abstract double
getDescent()
The /Descent of the /FontDescriptor.abstract int
getFlags()
The /Flag of the /FontDescriptor.abstract Rect
getFontBBox()
The /FontBBox of the /FontDescriptor.abstract java.lang.String
getFontFamily()
The /FontFamily of the /FontDescriptor.abstract CSS20Attribute.CSSStretchValue
getFontStretch()
The /FontStretch of the /FontDescriptor.abstract int
getFontWeight()
The /FontWeight of the /FontDescriptor.abstract java.lang.String
getGlyphName(int characterCode)
The name of a glyph.abstract double
getGlyphWidth(int characterCode)
The advance width of a glyph.abstract double
getItalicAngle()
The /ItalicAngle of the /FontDescriptor.abstract double
getLeading()
The /Leading of the /FontDescriptor.abstract java.lang.String
getPostscriptName()
The Postscript name of the font.abstract double
getStemV()
The /StemV of the /FontDescriptor.abstract double
getXHeight()
The /XHeight of the /FontDescriptor
-
-
-
Method Detail
-
getFontFamily
public abstract java.lang.String getFontFamily() throws InvalidFontException, UnsupportedFontException
The /FontFamily of the /FontDescriptor.
-
getPostscriptName
public abstract java.lang.String getPostscriptName() throws InvalidFontException, UnsupportedFontException
The Postscript name of the font. This should be the full font Postscript name, not the subset Postscript name.
-
getFontBBox
public abstract Rect getFontBBox() throws InvalidFontException, UnsupportedFontException
The /FontBBox of the /FontDescriptor.
-
getFlags
public abstract int getFlags() throws InvalidFontException, UnsupportedFontException
The /Flag of the /FontDescriptor.
-
getCapHeight
public abstract double getCapHeight() throws InvalidFontException, UnsupportedFontException
The /CapHeight of the /FontDescriptor.
-
getXHeight
public abstract double getXHeight() throws InvalidFontException, UnsupportedFontException
The /XHeight of the /FontDescriptor
-
getAscent
public abstract double getAscent() throws InvalidFontException, UnsupportedFontException
The /Ascent of the /FontDescriptor.
-
getDescent
public abstract double getDescent() throws InvalidFontException, UnsupportedFontException
The /Descent of the /FontDescriptor.
-
getLeading
public abstract double getLeading() throws InvalidFontException, UnsupportedFontException
The /Leading of the /FontDescriptor.
-
getStemV
public abstract double getStemV() throws InvalidFontException, UnsupportedFontException
The /StemV of the /FontDescriptor.
-
getItalicAngle
public abstract double getItalicAngle() throws InvalidFontException, UnsupportedFontException
The /ItalicAngle of the /FontDescriptor.
-
getFontStretch
public abstract CSS20Attribute.CSSStretchValue getFontStretch() throws InvalidFontException, UnsupportedFontException
The /FontStretch of the /FontDescriptor.
-
getFontWeight
public abstract int getFontWeight() throws InvalidFontException, UnsupportedFontException
The /FontWeight of the /FontDescriptor.
-
getGlyphName
public abstract java.lang.String getGlyphName(int characterCode) throws InvalidFontException, UnsupportedFontException
The name of a glyph. Called if the font is non-symbolic.
-
getGlyphWidth
public abstract double getGlyphWidth(int characterCode) throws InvalidFontException, UnsupportedFontException
The advance width of a glyph.
-
-