public class IdentityCMap extends CMap
| Constructor and Description |
|---|
IdentityCMap(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCode(int character) |
int |
getCodeFromStream(InputStream stream)
Reads character code from input stream and returnes it's CID.
|
String |
getOrdering() |
String |
getRegistry() |
int |
getSupplement() |
String |
getUnicode(int code)
Returns Unicode sequence for given character code.
|
int |
toCID(int character)
Gets CID for given character.
|
getCidMappings, getName, getwMode, isUsesNonPredefinedCMap, setSupplement, setUsesNonPredefinedCMap, useCMappublic IdentityCMap(String name)
public int toCID(int character)
CMappublic boolean containsCode(int character)
containsCode in class CMappublic int getCodeFromStream(InputStream stream) throws IOException
CMapgetCodeFromStream in class CMapstream - is stream from which character codes will be read.IOExceptionpublic String getRegistry()
getRegistry in class CMappublic String getOrdering()
getOrdering in class CMappublic int getSupplement()
getSupplement in class CMappublic String getUnicode(int code)
CMapgetUnicode in class CMapcode - is code of character.Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.