Package org.verapdf.features
Class FontFeaturesData
java.lang.Object
org.verapdf.features.FeaturesData
org.verapdf.features.FontFeaturesData
- All Implemented Interfaces:
Closeable
,AutoCloseable
Features data of a font for feature extractor
- Author:
- Maksim Bezrukov
-
Method Details
-
getMetadata
- Returns:
- InputStream metadata stream
-
getFontName
- Returns:
- parameter FontName from the font descriptor dictionary
-
getFontFamily
- Returns:
- parameter FontFamily from the font descriptor dictionary
-
getFontStretch
- Returns:
- parameter FontStretch from the font descriptor dictionary
-
getFontWeight
- Returns:
- parameter FontWeight from the font descriptor dictionary
-
getFlags
- Returns:
- parameter Flags from the font descriptor dictionary
-
getFontBBox
- Returns:
- parameter FontBBox from the font descriptor dictionary
-
getItalicAngle
- Returns:
- parameter ItalicAngle from the font descriptor dictionary
-
getAscent
- Returns:
- parameter Ascent from the font descriptor dictionary
-
getDescent
- Returns:
- parameter Descent from the font descriptor dictionary
-
getLeading
- Returns:
- parameter Leading from the font descriptor dictionary
-
getCapHeight
- Returns:
- parameter CapHeight from the font descriptor dictionary
-
getXHeight
- Returns:
- parameter XHeight from the font descriptor dictionary
-
getStemV
- Returns:
- parameter StemV from the font descriptor dictionary
-
getStemH
- Returns:
- parameter StemH from the font descriptor dictionary
-
getAvgWidth
- Returns:
- parameter AvgWidth from the font descriptor dictionary
-
getMaxWidth
- Returns:
- parameter MaxWidth from the font descriptor dictionary
-
getMissingWidth
- Returns:
- parameter MissingWidth from the font descriptor dictionary
-
getCharSet
- Returns:
- parameter CharSet from the font descriptor dictionary
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFeaturesData
- Throws:
IOException
-