jPod PDF library

de.intarsys.pdf.font
Class StreamBasedGIDMap

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.font.CIDToGIDMap
          extended by de.intarsys.pdf.font.StreamBasedGIDMap
All Implemented Interfaces:
ICOSObjectListener, de.intarsys.tools.attribute.IAttributeSupport

public class StreamBasedGIDMap
extends CIDToGIDMap

Mapping from CID's to glyph indices. The glyph index is a 2 byte value stored at index 2*x and 2*x + 1 where x is the CID number. First byte is high order.


Nested Class Summary
static class StreamBasedGIDMap.MetaClass
          The meta class implementation
 
Field Summary
static StreamBasedGIDMap.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.font.CIDToGIDMap
CN_Identity
 
Method Summary
 int getGlyphIndex(CharacterSelector cid)
           
 
Methods inherited from class de.intarsys.pdf.font.CIDToGIDMap
getSingleton
 
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final StreamBasedGIDMap.MetaClass META
The meta class instance

Method Detail

getGlyphIndex

public int getGlyphIndex(CharacterSelector cid)
Specified by:
getGlyphIndex in class CIDToGIDMap

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.