public class CIDToGIDMapping extends Object
| Constructor and Description |
|---|
CIDToGIDMapping(COSObject obj)
Constructor from COSObject, containing CIDToGID.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int cid)
Checks if given CID can be mapped into GID with this CIDToGID mapping.
|
int |
getGID(int cid)
Gets GID for given CID with use of this CIDToGIDMap.
|
int |
getMappingSize() |
boolean |
isIdentity() |
public CIDToGIDMapping(COSObject obj) throws IOException
obj - is COSObject, obtained via key CIDToGIDMap in CIDFontType2 dict.IOExceptionpublic int getGID(int cid)
cid - is character ID.public boolean contains(int cid)
cid - is CID to check.public boolean isIdentity()
public int getMappingSize()
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.