|
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
public abstract class PDFontDescriptor
the detail information about a font.
Nested Class Summary | |
---|---|
static class |
PDFontDescriptor.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
CN_Type_FontDescriptor
|
static PDFontDescriptor.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
COSStream |
cosGetFontFile()
|
COSStream |
cosGetFontFile2()
|
COSStream |
cosGetFontFile3()
|
abstract float |
getAscent()
The font ascent. |
abstract float |
getAvgWidth()
The font average width. |
abstract float |
getCapHeight()
The font capital height. |
abstract String |
getCharSet()
|
abstract float |
getDescent()
The font descent. |
FontDescriptorFlags |
getFlags()
|
abstract int |
getFlagsValue()
The font flags. |
abstract CDSRectangle |
getFontBB()
The character enclosing rectangle. |
abstract String |
getFontFamily()
The font family name. |
byte[] |
getFontFile()
The data making up a Type1 font program. |
byte[] |
getFontFile2()
The data making up a TrueType font program |
byte[] |
getFontFile3()
data for a font type specified in the /Subtpye entry of the stream dictionary. |
abstract String |
getFontName()
The font name. |
abstract String |
getFontStretch()
The font stretch value, one of UltraCondensed ExtraCondensed Condensed SemiCondensed Normal SemiExpanded Expanded ExtraExpanded UltraExpanded |
abstract int |
getFontWeight()
The font weight value, one of 100 200 300 400 (normal) 500 600 700 (bold) 800 900 |
abstract float |
getItalicAngle()
The font italic angle. |
abstract int |
getLeading()
The font leading. |
abstract int |
getMaxWidth()
The font character maximal width. |
abstract int |
getMissingWidth()
The width to use when definition is missing. |
abstract int |
getStemH()
The font horizontal stem. |
abstract int |
getStemV()
The font vertical stem. |
abstract float |
getXHeight()
The height of "X". |
boolean |
isAllCap()
|
boolean |
isBuiltin()
|
boolean |
isFixedPitch()
|
boolean |
isForceBold()
|
boolean |
isItalic()
|
boolean |
isNonsymbolic()
|
boolean |
isScript()
|
boolean |
isSerif()
|
boolean |
isSmallCap()
|
boolean |
isSymbolic()
|
void |
setAllCap(boolean flag)
|
abstract void |
setCharSet(String charset)
|
void |
setFixedPitch(boolean flag)
|
abstract void |
setFlagsValue(int value)
|
void |
setFontFamily(String value)
|
void |
setFontFile(byte[] data)
|
void |
setFontFile2(byte[] data)
|
void |
setFontFile3(byte[] data)
|
void |
setFontName(String value)
|
abstract void |
setFontStretch(String stretch)
|
abstract void |
setFontWeight(int weight)
|
void |
setForceBold(boolean flag)
|
void |
setItalic(boolean flag)
|
void |
setNonsymbolic(boolean flag)
|
void |
setScript(boolean flag)
|
void |
setSerif(boolean flag)
|
void |
setSmallCap(boolean flag)
|
void |
setSymbolic(boolean flag)
|
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 COSName CN_Type_FontDescriptor
public static final PDFontDescriptor.MetaClass META
Method Detail |
---|
public COSStream cosGetFontFile()
public COSStream cosGetFontFile2()
public COSStream cosGetFontFile3()
public abstract float getAscent()
public abstract float getAvgWidth()
public abstract float getCapHeight()
public abstract String getCharSet()
public abstract float getDescent()
public FontDescriptorFlags getFlags()
public abstract int getFlagsValue()
public abstract CDSRectangle getFontBB()
public abstract String getFontFamily()
public byte[] getFontFile()
public byte[] getFontFile2()
public byte[] getFontFile3()
public abstract String getFontName()
public abstract String getFontStretch()
public abstract int getFontWeight()
public abstract float getItalicAngle()
public abstract int getLeading()
public abstract int getMaxWidth()
public abstract int getMissingWidth()
public abstract int getStemH()
public abstract int getStemV()
public abstract float getXHeight()
public boolean isAllCap()
public boolean isBuiltin()
public boolean isFixedPitch()
public boolean isForceBold()
public boolean isItalic()
public boolean isNonsymbolic()
public boolean isScript()
public boolean isSerif()
public boolean isSmallCap()
public boolean isSymbolic()
public void setAllCap(boolean flag)
public abstract void setCharSet(String charset)
public void setFixedPitch(boolean flag)
public abstract void setFlagsValue(int value)
public void setFontFamily(String value)
public void setFontFile(byte[] data)
public void setFontFile2(byte[] data)
public void setFontFile3(byte[] data)
public void setFontName(String value)
public abstract void setFontStretch(String stretch)
public abstract void setFontWeight(int weight)
public void setForceBold(boolean flag)
public void setItalic(boolean flag)
public void setNonsymbolic(boolean flag)
public void setScript(boolean flag)
public void setSerif(boolean flag)
public void setSmallCap(boolean flag)
public void setSymbolic(boolean flag)
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |