Package org.verapdf.pd.font.stdmetrics
Class AFMParser
- java.lang.Object
-
- org.verapdf.parser.BaseParser
-
- org.verapdf.pd.font.stdmetrics.AFMParser
-
public class AFMParser extends BaseParser
Class that is used to parse Adobe Font Metrics files.- Author:
- Sergey Shemyakov
-
-
Field Summary
-
Fields inherited from class org.verapdf.parser.BaseParser
source
-
-
Constructor Summary
Constructors Constructor Description AFMParser(ASInputStream asInputStream, String fontName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardFontMetricsparse()-
Methods inherited from class org.verapdf.parser.BaseParser
appendToToken, clearToken, closeInputStream, findKeyword, findKeyword, getLine, getLine, getLineBytes, getRandomAccess, getRawBytes, getToken, initializeToken, isCR, isDigit, isDigit, isEOL, isFF, isHexDigit, isLF, isNextByteEOL, nextLine, nextToken, readName, readNumber, readUntilDelimiter, skipExpectedCharacter, skipSingleEol, skipSingleSpace, skipSingleSpace, skipSpaces, skipSpaces
-
-
-
-
Constructor Detail
-
AFMParser
public AFMParser(ASInputStream asInputStream, String fontName) throws IOException
- Throws:
IOException
-
-
Method Detail
-
parse
public StandardFontMetrics parse() throws IOException
- Throws:
IOException
-
-