org.apache.fontbox.cff
public class CFFFont extends Object
Version: $Revision$
Nested Class Summary | |
---|---|
class | CFFFont.Mapping
This class is used for the font mapping.
|
Method Summary | |
---|---|
void | addValueToPrivateDict(String name, Object value)
Adds the given key/value pair to the private dictionary. |
void | addValueToTopDict(String name, Object value)
Adds the given key/value pair to the top dictionary. |
CharStringConverter | createConverter()
Creates a CharStringConverter for this font. |
CharStringRenderer | createRenderer()
Creates a CharStringRenderer for this font. |
CFFCharset | getCharset()
Returns the CFFCharset of the font. |
Map<String,byte[]> | getCharStringsDict()
Returns the character strings dictionary. |
CFFEncoding | getEncoding()
Returns the CFFEncoding of the font. |
Collection<CFFFont.Mapping> | getMappings()
Get the mapping (code/SID/charname/bytes) for this font. |
String | getName()
The name of the font. |
Map<String,Object> | getPrivateDict()
Returns the private dictionary. |
Object | getProperty(String name)
Returns the value for the given name from the dictionary. |
Map<String,Object> | getTopDict()
Returns the top dictionary. |
void | setCharset(CFFCharset charset)
Sets the CFFCharset of the font. |
void | setEncoding(CFFEncoding encoding)
Sets the CFFEncoding of the font. |
void | setName(String name)
Sets the name of the font. |
String | toString() |
Parameters: name the given key value the given value
Parameters: name the given key value the given value
Returns: the new CharStringConverter
Returns: the new CharStringRenderer
Returns: the charset
Returns: the dictionary
Returns: the encoding
Returns: mappings for codes < 256 and for codes > = 256
Returns: the name of the font
Returns: the dictionary
Parameters: name the name of the value
Returns: the value of the name if available
Returns: the dictionary
Parameters: charset the given CFFCharset
Parameters: encoding the given CFFEncoding
Parameters: name the name of the font