intarsys PDF library API

de.intarsys.pdf.font
Class PDFontType3

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.PDFontType3
All Implemented Interfaces:
IFont, ICOSObjectListener, IAttributeSupport

public class PDFontType3
extends PDFont


Nested Class Summary
static class PDFontType3.MetaClass
          The meta class implementation
 
Field Summary
static COSName DK_CharProcs
           
static COSName DK_FontBBox
           
static COSName DK_FontMatrix
           
static COSName DK_Resources
           
static COSName DK_ToUnicode
           
static PDFontType3.MetaClass META
          The meta class instance
 
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_Widths
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Constructor Summary
PDFontType3(COSObject object)
           
 
Method Summary
 COSDictionary cosGetCharProcs()
           
 COSDictionary cosSetCharProcs(COSDictionary newDict)
           
 String getFontFamilyName()
          The font family name.
 CDSMatrix getFontMatrix()
           
 String getFontName()
          The complete font name.
 FontStyle getFontStyle()
          The font style.
 CID getNextCID(byte[] bytes, int offset)
           
 float getUnderlinePosition()
           
 int getUnderlineThickness()
           
 boolean isEmbedded()
          Answer true if this font's program is embedded within the document.
 boolean isSubset()
          Answer true if this font is partially embedded in the document.
 void setMatrix(CDSMatrix fontMatrix)
           
 String toString()
           
 
Methods inherited from class de.intarsys.pdf.font.PDFont
compress, getBaseFont, getEncoding, getFirstChar, getFontDescriptor, getFontFamilyName, getFontName, getFontStyle, getGlyphWidth, getGlyphWidths, getLastChar, getMacintoshRomanCode, getMissingWidth, getToUnicode, getUnicode, isCharUsed, isStandardFont, setBaseFont, setCharUsed, setEncoding, setFontDescriptor
 
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

DK_FontBBox

public static final COSName DK_FontBBox

DK_FontMatrix

public static final COSName DK_FontMatrix

DK_CharProcs

public static final COSName DK_CharProcs

DK_Resources

public static final COSName DK_Resources

DK_ToUnicode

public static final COSName DK_ToUnicode

META

public static final PDFontType3.MetaClass META
The meta class instance

Constructor Detail

PDFontType3

public PDFontType3(COSObject object)
Parameters:
object -
Method Detail

getUnderlinePosition

public float getUnderlinePosition()
Specified by:
getUnderlinePosition in class PDFont

getUnderlineThickness

public int getUnderlineThickness()
Specified by:
getUnderlineThickness in class PDFont

getFontFamilyName

public String getFontFamilyName()
Description copied from interface: IFont
The font family name.

Returns:
The font family name.

getFontName

public String getFontName()
Description copied from interface: IFont
The complete font name.

Returns:
The complete font name.

getFontStyle

public FontStyle getFontStyle()
Description copied from interface: IFont
The font style.

Returns:
The font style.

isEmbedded

public boolean isEmbedded()
Description copied from class: PDFont
Answer true if this font's program is embedded within the document.

Overrides:
isEmbedded in class PDFont
Returns:
Answer true if this font's program is embedded within the document.

isSubset

public boolean isSubset()
Description copied from class: PDFont
Answer true if this font is partially embedded in the document.

Overrides:
isSubset in class PDFont
Returns:
Answer true if this font is partially embedded in the document.

toString

public String toString()
Overrides:
toString in class PDFont

getNextCID

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

cosGetCharProcs

public COSDictionary cosGetCharProcs()

cosSetCharProcs

public COSDictionary cosSetCharProcs(COSDictionary newDict)

getFontMatrix

public CDSMatrix getFontMatrix()

setMatrix

public void setMatrix(CDSMatrix fontMatrix)

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.