|
jPod PDF library | |||||||||
| 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.PDFontDescriptor
de.intarsys.pdf.font.PDFontDescriptorAFM
public class PDFontDescriptorAFM
The PDFontDescriptor that is used when no explicit /FontDescriptor is
available in the PDF document. This will happen only when a built in font is
used.
| Nested Class Summary | |
|---|---|
static class |
PDFontDescriptorAFM.MetaClass
The meta class implementation |
| Field Summary | |
|---|---|
static PDFontDescriptorAFM.MetaClass |
META
The meta class instance |
| Fields inherited from class de.intarsys.pdf.font.PDFontDescriptor |
|---|
CN_Type_FontDescriptor |
| Fields inherited from class de.intarsys.pdf.pd.PDObject |
|---|
DK_Subtype, DK_Type |
| Method Summary | |
|---|---|
de.intarsys.cwt.font.afm.AFM |
getAfm()
|
float |
getAscent()
The font ascent. |
float |
getAvgWidth()
The font average width. |
float |
getCapHeight()
The font capital height. |
String |
getCharSet()
|
float |
getDescent()
The font descent. |
int |
getFlagsValue()
The font flags. |
CDSRectangle |
getFontBB()
The character enclosing rectangle. |
String |
getFontFamily()
The font family name. |
String |
getFontName()
The font name. |
String |
getFontStretch()
The font stretch value, one of UltraCondensed ExtraCondensed Condensed SemiCondensed Normal SemiExpanded Expanded ExtraExpanded UltraExpanded |
int |
getFontWeight()
The font weight value, one of 100 200 300 400 (normal) 500 600 700 (bold) 800 900 |
float |
getItalicAngle()
The font italic angle. |
int |
getLeading()
The font leading. |
int |
getMaxWidth()
The font character maximal width. |
int |
getMissingWidth()
The width to use when definition is missing. |
int |
getStemH()
The font horizontal stem. |
int |
getStemV()
The font vertical stem. |
float |
getXHeight()
The height of "X". |
boolean |
isBuiltin()
|
boolean |
isNonsymbolic()
|
boolean |
isSymbolic()
|
void |
setCharSet(String charset)
|
void |
setFlagsValue(int value)
|
void |
setFontStretch(String stretch)
|
void |
setFontWeight(int weight)
|
| Methods inherited from class de.intarsys.pdf.font.PDFontDescriptor |
|---|
cosGetFontFile, cosGetFontFile2, cosGetFontFile3, getFlags, getFontFile, getFontFile2, getFontFile3, isAllCap, isFixedPitch, isForceBold, isItalic, isScript, isSerif, isSmallCap, setAllCap, setFixedPitch, setFontFamily, setFontFile, setFontFile2, setFontFile3, setFontName, setForceBold, setItalic, setNonsymbolic, setScript, setSerif, setSmallCap, setSymbolic |
| Methods inherited from class de.intarsys.pdf.pd.PDObject |
|---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
| 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 PDFontDescriptorAFM.MetaClass META
| Method Detail |
|---|
public de.intarsys.cwt.font.afm.AFM getAfm()
public float getAscent()
PDFontDescriptor
getAscent in class PDFontDescriptorpublic float getAvgWidth()
PDFontDescriptor
getAvgWidth in class PDFontDescriptorpublic float getCapHeight()
PDFontDescriptor
getCapHeight in class PDFontDescriptorpublic String getCharSet()
getCharSet in class PDFontDescriptorpublic float getDescent()
PDFontDescriptor
getDescent in class PDFontDescriptorpublic int getFlagsValue()
PDFontDescriptor
getFlagsValue in class PDFontDescriptorpublic CDSRectangle getFontBB()
PDFontDescriptor
getFontBB in class PDFontDescriptorpublic String getFontFamily()
PDFontDescriptor
getFontFamily in class PDFontDescriptorpublic String getFontName()
PDFontDescriptor
getFontName in class PDFontDescriptorpublic String getFontStretch()
PDFontDescriptor
getFontStretch in class PDFontDescriptorpublic int getFontWeight()
PDFontDescriptor
getFontWeight in class PDFontDescriptorpublic float getItalicAngle()
PDFontDescriptor
getItalicAngle in class PDFontDescriptorpublic int getLeading()
PDFontDescriptor
getLeading in class PDFontDescriptorpublic int getMaxWidth()
PDFontDescriptor
getMaxWidth in class PDFontDescriptorpublic int getMissingWidth()
PDFontDescriptor
getMissingWidth in class PDFontDescriptorpublic int getStemH()
PDFontDescriptor
getStemH in class PDFontDescriptorpublic int getStemV()
PDFontDescriptor
getStemV in class PDFontDescriptorpublic float getXHeight()
PDFontDescriptor
getXHeight in class PDFontDescriptorpublic boolean isBuiltin()
isBuiltin in class PDFontDescriptorpublic boolean isNonsymbolic()
isNonsymbolic in class PDFontDescriptorpublic boolean isSymbolic()
isSymbolic in class PDFontDescriptorpublic void setCharSet(String charset)
setCharSet in class PDFontDescriptorpublic void setFlagsValue(int value)
setFlagsValue in class PDFontDescriptorpublic void setFontStretch(String stretch)
setFontStretch in class PDFontDescriptorpublic void setFontWeight(int weight)
setFontWeight in class PDFontDescriptor
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||