public class CFFCIDFont extends CFFFont
charset, charStrings, fontName, globalSubrIndex, topDict| Constructor and Description |
|---|
CFFCIDFont() |
| Modifier and Type | Method and Description |
|---|---|
FDSelect |
getFdSelect()
Returns the fdSelect value.
|
List<Map<String,Object>> |
getFontDicts()
Returns the font dictionaries.
|
List<Number> |
getFontMatrix()
Returns the FontMatrix.
|
String |
getOrdering()
Returns the ordering value.
|
GeneralPath |
getPath(String selector)
Returns the path for the character with the given name.
|
List<Map<String,Object>> |
getPrivDicts()
Returns the private dictionary.
|
String |
getRegistry()
Returns the registry value.
|
int |
getSupplement()
Returns the supplement value.
|
CIDKeyedType2CharString |
getType2CharString(int cid)
Returns the Type 2 charstring for the given CID.
|
float |
getWidth(String selector)
Returns the advance width for the character with the given name.
|
boolean |
hasGlyph(String selector)
Returns true if the font contains the given glyph.
|
addValueToTopDict, getCharset, getCharStringBytes, getData, getFontBBox, getGlobalSubrIndex, getName, getNumCharStrings, getTopDict, toStringpublic String getRegistry()
public String getOrdering()
public int getSupplement()
public List<Map<String,Object>> getFontDicts()
public List<Map<String,Object>> getPrivDicts()
public FDSelect getFdSelect()
public CIDKeyedType2CharString getType2CharString(int cid) throws IOException
getType2CharString in class CFFFontcid - CIDIOException - if the charstring could not be readpublic List<Number> getFontMatrix()
CFFFontgetFontMatrix in interface FontBoxFontgetFontMatrix in class CFFFontpublic GeneralPath getPath(String selector) throws IOException
FontBoxFontIOException - if the path could not be readpublic float getWidth(String selector) throws IOException
FontBoxFontIOException - if the path could not be readpublic boolean hasGlyph(String selector) throws IOException
FontBoxFontselector - PostScript glyph nameIOExceptionCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.