Module jpms_dss_pades_pdfbox
Class JavaDSSFontMetrics
java.lang.Object
eu.europa.esig.dss.pdf.visible.AbstractDSSFontMetrics
eu.europa.esig.dss.pdf.pdfbox.visible.defaultdrawer.JavaDSSFontMetrics
- All Implemented Interfaces:
eu.europa.esig.dss.pdf.visible.DSSFontMetrics
public class JavaDSSFontMetrics
extends eu.europa.esig.dss.pdf.visible.AbstractDSSFontMetrics
Contains font metrics for a Java font
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatgetMaxAscent(float size) Returns the max ascent for the given fontsizefloatMethods inherited from class eu.europa.esig.dss.pdf.visible.AbstractDSSFontMetrics
computeTextBoundaryBox, getLines
-
Constructor Details
-
JavaDSSFontMetrics
Default constructor- Parameters:
javaFont-Font
-
-
Method Details
-
getWidth
-
getHeight
-
getMaxAscent
public float getMaxAscent(float size) Returns the max ascent for the given fontsize- Parameters:
size- font size- Returns:
- max ascent
-