| Modifier and Type | Class and Description |
|---|---|
static class |
CffFontAdapter.CffGlyph |
| Constructor and Description |
|---|
CffFontAdapter() |
CffFontAdapter(org.apache.fontbox.cff.CFFFont font) |
public CffFontAdapter(org.apache.fontbox.cff.CFFFont font)
public CffFontAdapter()
public static CffFontAdapter parse(byte[] cffData) throws IOException
IOExceptionpublic boolean detectFormat(byte[] fontFile)
detectFormat in interface FVFontfontFile - input font file datapublic void read(byte[] fontFile)
throws IOException
read in interface FVFontfontFile - reads/parses the input font data into this object.IOException - error reading font datapublic FontConverter createConverterForType(FontVerter.FontFormat fontFormat) throws FontNotSupportedException
createConverterForType in interface FVFontFontNotSupportedExceptionpublic org.apache.fontbox.cff.CFFFont getFont()
public String getFullName()
public String getFamilyName()
public String getSubFamilyName()
public String getVersion()
public String getTrademarkNotice()
public Integer getUnderLinePosition()
public int getMinX()
public int getMinY()
public int getMaxX()
public int getMaxY()
public Map<Integer,String> getGlyphIdsToNames() throws IOException
IOExceptionpublic Map<Integer,Integer> getCharCodeToGlyphIds() throws IOException
IOExceptionpublic List<GlyphMapReader.GlyphMapping> getGlyphMaps() throws IOException
IOExceptionpublic org.apache.fontbox.encoding.Encoding getEncoding()
public void setData(byte[] data)
public byte[] getData()
public void normalize()
FVFontpublic boolean isValid()
public List<RuleValidator.FontValidatorError> getValidationErrors()
getValidationErrors in interface FVFontpublic FontProperties getProperties()
getProperties in interface FVFontpublic List<CffFontAdapter.CffGlyph> getGlyphs() throws IOException
IOExceptionpublic Integer getDefaultWidth()
public Integer getNominalWidth()
public CffFontAdapter.CffGlyph createGlyph()
Copyright © 2018. All rights reserved.