|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.font.PDFont
de.intarsys.pdf.font.CIDFont
public abstract class CIDFont
A CID indexed font.
This is a wrapper around a Type 1 or TrueType Font that is indexed using CID's.
This is a a subclass of PDFont only for implementation reasons.
todo 1 cmap review, delegate methods, access implementation font.
Nested Class Summary | |
---|---|
static class |
CIDFont.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
DK_CIDSystemInfo
|
static COSName |
DK_DW
|
static COSName |
DK_DW2
|
static COSName |
DK_W
|
static COSName |
DK_W2
|
static CIDFont.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_ToUnicode, DK_Widths |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
CIDSystemInfo |
getCIDSystemInfo()
|
CIDWidthMap |
getCIDWidthMap()
|
String |
getFontFamilyName()
The font family name. |
String |
getFontName()
The complete font name. |
FontStyle |
getFontStyle()
The font style. |
abstract int |
getGlyphIndex(CID cid)
|
int |
getGlyphWidth(int cidValue)
return the glyph width of a codepoint in the receiver font |
float |
getUnderlinePosition()
|
int |
getUnderlineThickness()
|
Methods inherited from class de.intarsys.pdf.font.PDFont |
---|
compress, getBaseFont, getEncoding, getFirstChar, getFontDescriptor, getFontFamilyName, getFontName, getFontStyle, getGlyphWidths, getLastChar, getMacintoshRomanCode, getMissingWidth, getNextCID, 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 |
---|
public static final COSName DK_CIDSystemInfo
public static final COSName DK_DW
public static final COSName DK_W
public static final COSName DK_DW2
public static final COSName DK_W2
public static final CIDFont.MetaClass META
Method Detail |
---|
public CIDWidthMap getCIDWidthMap()
public String getFontFamilyName()
IFont
public String getFontName()
IFont
public FontStyle getFontStyle()
IFont
public float getUnderlinePosition()
getUnderlinePosition
in class PDFont
public int getUnderlineThickness()
getUnderlineThickness
in class PDFont
public CIDSystemInfo getCIDSystemInfo()
public int getGlyphWidth(int cidValue)
PDFont
getGlyphWidth
in class PDFont
cidValue
- the index of the glyph in the font
public abstract int getGlyphIndex(CID cid)
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |