|
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 PDFontDescriptor
public float getAvgWidth()
PDFontDescriptor
getAvgWidth
in class PDFontDescriptor
public float getCapHeight()
PDFontDescriptor
getCapHeight
in class PDFontDescriptor
public String getCharSet()
getCharSet
in class PDFontDescriptor
public float getDescent()
PDFontDescriptor
getDescent
in class PDFontDescriptor
public int getFlagsValue()
PDFontDescriptor
getFlagsValue
in class PDFontDescriptor
public CDSRectangle getFontBB()
PDFontDescriptor
getFontBB
in class PDFontDescriptor
public String getFontFamily()
PDFontDescriptor
getFontFamily
in class PDFontDescriptor
public String getFontName()
PDFontDescriptor
getFontName
in class PDFontDescriptor
public String getFontStretch()
PDFontDescriptor
getFontStretch
in class PDFontDescriptor
public int getFontWeight()
PDFontDescriptor
getFontWeight
in class PDFontDescriptor
public float getItalicAngle()
PDFontDescriptor
getItalicAngle
in class PDFontDescriptor
public int getLeading()
PDFontDescriptor
getLeading
in class PDFontDescriptor
public int getMaxWidth()
PDFontDescriptor
getMaxWidth
in class PDFontDescriptor
public int getMissingWidth()
PDFontDescriptor
getMissingWidth
in class PDFontDescriptor
public int getStemH()
PDFontDescriptor
getStemH
in class PDFontDescriptor
public int getStemV()
PDFontDescriptor
getStemV
in class PDFontDescriptor
public float getXHeight()
PDFontDescriptor
getXHeight
in class PDFontDescriptor
public boolean isBuiltin()
isBuiltin
in class PDFontDescriptor
public boolean isNonsymbolic()
isNonsymbolic
in class PDFontDescriptor
public boolean isSymbolic()
isSymbolic
in class PDFontDescriptor
public void setCharSet(String charset)
setCharSet
in class PDFontDescriptor
public void setFlagsValue(int value)
setFlagsValue
in class PDFontDescriptor
public void setFontStretch(String stretch)
setFontStretch
in class PDFontDescriptor
public 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 |