Package org.verapdf.pd.font.stdmetrics
Class StandardFontMetrics
java.lang.Object
org.verapdf.pd.font.stdmetrics.StandardFontMetrics
Class provides access to metrics of a standard font.
- Author:
- Sergey Shemyakov
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]intGets width for glyph with given name in this font.voidsetXHeight(Double XHeight)
-
Method Details
-
getWidth
Gets width for glyph with given name in this font. If there is no glyph with given name, gets width of .notdef glyph.- Parameters:
glyphName- is name of glyph.- Returns:
- width of this glyph or width of .notdef glyph.
-
getFontName
-
getFamilyName
-
getFontBBox
public double[] getFontBBox() -
getEncodingScheme
-
getCharSet
-
getCapHeight
-
getXHeight
-
setXHeight
-
getAscend
-
getDescend
-
getItalicAngle
-
getWidthsIterator
-