de.intarsys.pdf.font
Class PDFontType0
java.lang.Object
de.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.font.PDFont
de.intarsys.pdf.font.PDFontType0
- All Implemented Interfaces:
- IFont, ICOSObjectListener, IAttributeSupport
public class PDFontType0
- extends PDFont
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 |
Methods inherited from class de.intarsys.pdf.font.PDFont |
compress, getBaseFont, getEncoding, getFirstChar, 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 |
DK_DescendantFonts
public static final COSName DK_DescendantFonts
META
public static final PDFontType0.MetaClass META
- The meta class instance
PDFontType0
public PDFontType0(COSObject object)
getCMap
public CMap getCMap()
getDescendantFont
public CIDFont getDescendantFont()
getFontDescriptor
public PDFontDescriptor getFontDescriptor()
- Overrides:
getFontDescriptor
in class PDFont
- Returns:
- the font descriptor object for this font
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.
getGlyphWidth
public int getGlyphWidth(int codePoint)
- Description copied from class:
PDFont
- return the glyph width of a codepoint in the receiver font
- Overrides:
getGlyphWidth
in class PDFont
- Parameters:
codePoint
- the index of the glyph in the font
- Returns:
- the width of the glyph
getNextCID
public CID getNextCID(byte[] bytes,
int offset)
- Specified by:
getNextCID
in class PDFont
getUnderlinePosition
public float getUnderlinePosition()
- Specified by:
getUnderlinePosition
in class PDFont
getUnderlineThickness
public int getUnderlineThickness()
- Specified by:
getUnderlineThickness
in class PDFont
getGlyphIndex
public int getGlyphIndex(CID cid)
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.