intarsys PDF library API

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:
IFont, ICOSObjectListener, 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()
           
 int getGlyphIndex(CID cid)
           
 CID getNextCID(byte[] bytes, int offset)
           
 
Methods inherited from class de.intarsys.pdf.font.CIDFont
getCIDSystemInfo, getCIDWidthMap, getFontFamilyName, getFontName, getFontStyle, getGlyphWidth, getUnderlinePosition, getUnderlineThickness
 
Methods inherited from class de.intarsys.pdf.font.PDFont
compress, getBaseFont, getEncoding, getFirstChar, getFontDescriptor, getFontFamilyName, getFontName, getFontStyle, getGlyphWidths, getLastChar, getMacintoshRomanCode, getMissingWidth, getToUnicode, getUnicode, isCharUsed, isEmbedded, isStandardFont, isSubset, setBaseFont, setCharUsed, setEncoding, setFontDescriptor, 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, invalidateCaches, 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)
Parameters:
object -
Method Detail

getNextCID

public CID getNextCID(byte[] bytes,
                      int offset)
Specified by:
getNextCID in class PDFont

cosGetCIDToGIDMap

public COSObject cosGetCIDToGIDMap()

getGlyphIndex

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

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.