de.intarsys.pdf.font
Class PDFontType3
java.lang.Object
de.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.font.PDFont
de.intarsys.pdf.font.PDSingleByteFont
de.intarsys.pdf.font.PDFontType3
- All Implemented Interfaces:
- ICOSObjectListener, IResourcesProvider, de.intarsys.tools.attribute.IAttributeSupport
public class PDFontType3
- extends PDSingleByteFont
- implements IResourcesProvider
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 |
Methods inherited from class de.intarsys.pdf.font.PDFont |
dumpFontFile, getBaseFont, getEncoding, getFirstChar, getFontDescriptor, getFontFamilyName, getFontName, getFontNameNormalized, getFontStyle, getLastChar, getLookupFontFamilyName, getLookupFontName, getLookupFontStyle, getMacintoshRomanCode, getMissingWidth, getToUnicode, isStandardFont, setBaseFont, setEncoding, setFontDescriptor, setLookupFontFamilyName, setLookupFontName, setLookupFontStyle, setToUnicode |
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 |
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
PDFontType3
public PDFontType3(COSObject object)
- Parameters:
object
-
cosGetCharProcs
public COSDictionary cosGetCharProcs()
cosSetCharProcs
public COSDictionary cosSetCharProcs(COSDictionary newDict)
getFontBB
public CDSRectangle getFontBB()
getFontFamilyName
public String getFontFamilyName()
- Overrides:
getFontFamilyName
in class PDFont
getFontMatrix
public CDSMatrix getFontMatrix()
getFontName
public String getFontName()
- Overrides:
getFontName
in class PDFont
getFontStyle
public PDFontStyle getFontStyle()
- Overrides:
getFontStyle
in class PDFont
getFontType
public String getFontType()
- Specified by:
getFontType
in class PDFont
getGlyphWidthEncoded
public int getGlyphWidthEncoded(int codePoint)
- Description copied from class:
PDSingleByteFont
- The glyph width of a codepoint in the font. codepoint refers to the
encoded (possibly multibyte) value in the COSString.
In the standard case for single byte encoded fonts, the codepoint is the
index in the /Widths array, holding the glyph width.
For multibyte fonts, see PDFontType0
.
- Overrides:
getGlyphWidthEncoded
in class PDSingleByteFont
- Parameters:
codePoint
- The codepoint
- Returns:
- The glyph width of a codepoint in the font
getResources
public PDResources getResources()
- The
PDResources
.
- Specified by:
getResources
in interface IResourcesProvider
- Returns:
- The
PDResources
.
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.
setFontBB
public void setFontBB(CDSRectangle fontBB)
setFontMatrix
public void setFontMatrix(CDSMatrix fontMatrix)
setResources
public void setResources(PDResources resources)
- Specified by:
setResources
in interface IResourcesProvider
toString
public String toString()
- Overrides:
toString
in class PDFont
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.