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, toString
public 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 CFFFont
cid
- CIDIOException
- if the charstring could not be readpublic List<Number> getFontMatrix()
CFFFont
getFontMatrix
in interface FontBoxFont
getFontMatrix
in class CFFFont
public GeneralPath getPath(String selector) throws IOException
FontBoxFont
IOException
- if the path could not be readpublic float getWidth(String selector) throws IOException
FontBoxFont
IOException
- if the path could not be readpublic boolean hasGlyph(String selector) throws IOException
FontBoxFont
selector
- PostScript glyph nameIOException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.