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.
|
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.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.