FontBoxFont
public class CFFCIDFont extends CFFFont
charset, charStrings, fontName, globalSubrIndex, topDict
Constructor | Description |
---|---|
CFFCIDFont() |
Modifier and Type | Method | Description |
---|---|---|
FDSelect |
getFdSelect() |
Returns the fdSelect value.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getFontDicts() |
Returns the font dictionaries.
|
java.util.List<java.lang.Number> |
getFontMatrix() |
Returns the FontMatrix.
|
java.lang.String |
getOrdering() |
Returns the ordering value.
|
java.awt.geom.GeneralPath |
getPath(java.lang.String selector) |
Returns the path for the character with the given name.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getPrivDicts() |
Returns the private dictionary.
|
java.lang.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(java.lang.String selector) |
Returns the advance width for the character with the given name.
|
boolean |
hasGlyph(java.lang.String selector) |
Returns true if the font contains the given glyph.
|
addValueToTopDict, getCharset, getCharStringBytes, getData, getFontBBox, getGlobalSubrIndex, getName, getNumCharStrings, getTopDict, toString
public java.lang.String getRegistry()
public java.lang.String getOrdering()
public int getSupplement()
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getFontDicts()
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getPrivDicts()
public FDSelect getFdSelect()
public CIDKeyedType2CharString getType2CharString(int cid) throws java.io.IOException
getType2CharString
in class CFFFont
cid
- CIDjava.io.IOException
- if the charstring could not be readpublic java.util.List<java.lang.Number> getFontMatrix()
CFFFont
getFontMatrix
in interface FontBoxFont
getFontMatrix
in class CFFFont
public java.awt.geom.GeneralPath getPath(java.lang.String selector) throws java.io.IOException
FontBoxFont
java.io.IOException
- if the path could not be readpublic float getWidth(java.lang.String selector) throws java.io.IOException
FontBoxFont
java.io.IOException
- if the path could not be readpublic boolean hasGlyph(java.lang.String selector) throws java.io.IOException
FontBoxFont
selector
- PostScript glyph namejava.io.IOException
Copyright © 2008–2018. All rights reserved.