jPod PDF library

de.intarsys.pdf.font
Class CIDFontType2

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.font.PDFont
              extended by de.intarsys.pdf.font.CIDFont
                  extended by de.intarsys.pdf.font.CIDFontType2
All Implemented Interfaces:
ICOSObjectListener, de.intarsys.tools.attribute.IAttributeSupport

public class CIDFontType2
extends CIDFont

A TrueType based CID font.


Nested Class Summary
static class CIDFontType2.MetaClass
          The meta class implementation
 
Field Summary
static COSName DK_CIDToGIDMap
           
static CIDFontType2.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.font.CIDFont
DK_CIDSystemInfo, DK_DW, DK_DW2, DK_W, DK_W2
 
Fields inherited from class de.intarsys.pdf.font.PDFont
CN_Subtype_CIDFontType0, CN_Subtype_CIDFontType2, CN_Subtype_MMType1, CN_Subtype_TrueType, CN_Subtype_Type0, CN_Subtype_Type1, CN_Subtype_Type3, CN_Type_Font, DK_BaseFont, DK_Encoding, DK_FirstChar, DK_FontDescriptor, DK_LastChar, DK_Name, DK_ToUnicode, DK_Widths
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Constructor Summary
CIDFontType2(COSObject object)
           
 
Method Summary
 COSObject cosGetCIDToGIDMap()
           
 String getFontType()
           
 int getGlyphIndex(int cid)
           
 
Methods inherited from class de.intarsys.pdf.font.CIDFont
getCIDSystemInfo, getCIDWidthMap, getDefaultGlyphWidth, getFontStyle, getGlyphsEncoded, getGlyphWidthCID, getGlyphWidthEncoded, getNextGlyphsEncoded, setCIDSystemInfo, setCIDWidthMap, setDefaultGlyphWidth
 
Methods inherited from class de.intarsys.pdf.font.PDFont
dumpFontFile, getBaseFont, getEncoding, getFirstChar, getFontDescriptor, getFontFamilyName, getFontFamilyName, getFontName, getFontName, getFontNameNormalized, getFontStyle, getLastChar, getLookupFontFamilyName, getLookupFontName, getLookupFontStyle, getMacintoshRomanCode, getMissingWidth, getToUnicode, invalidateCaches, isEmbedded, isStandardFont, isSubset, setBaseFont, setEncoding, setFontDescriptor, setLookupFontFamilyName, setLookupFontName, setLookupFontStyle, setToUnicode, toString
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent
 
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, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final CIDFontType2.MetaClass META
The meta class instance


DK_CIDToGIDMap

public static final COSName DK_CIDToGIDMap
Constructor Detail

CIDFontType2

public CIDFontType2(COSObject object)
Method Detail

cosGetCIDToGIDMap

public COSObject cosGetCIDToGIDMap()

getFontType

public String getFontType()
Specified by:
getFontType in class PDFont

getGlyphIndex

public int getGlyphIndex(int cid)
Specified by:
getGlyphIndex in class CIDFont

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.