|
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.PDFont
de.intarsys.pdf.font.PDSingleByteFont
de.intarsys.pdf.font.PDFontType1
public class PDFontType1
basic implementation for type 1 support
Nested Class Summary | |
---|---|
static class |
PDFontType1.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static Map<String,String> |
FONT_ALIASES
Map of known alternative names for the builtin fonts |
static Map<String,String> |
FONT_ALIASES_DEPRECATED
Map of known deprecated alternative names for the builtin fonts |
static String[] |
FONT_BUILTINS
|
static String |
FONT_Courier
|
static String |
FONT_Courier_Bold
|
static String |
FONT_Courier_BoldOblique
|
static String |
FONT_Courier_Oblique
|
static String |
FONT_Helvetica
|
static String |
FONT_Helvetica_Bold
|
static String |
FONT_Helvetica_BoldOblique
|
static String |
FONT_Helvetica_Oblique
|
static String |
FONT_Symbol
|
static String |
FONT_Times_Bold
|
static String |
FONT_Times_BoldItalic
|
static String |
FONT_Times_Italic
|
static String |
FONT_Times_Roman
|
static String |
FONT_ZapfDingbats
|
static PDFontType1.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 | |
---|---|
static PDFontType1 |
createNew(String name)
create a Type1 font object to be used in the pdf document |
String |
getFontNameNormalized()
|
String |
getFontType()
|
static boolean |
isBuiltin(String name)
|
static boolean |
isBuiltinAlias(String name)
|
static boolean |
isBuiltinDeprecated(String name)
|
boolean |
isStandardFont()
Answer true if this is one of the 14 standard fonts. |
static de.intarsys.cwt.font.afm.AFM |
lookupBuiltinAFM(String name)
Lookup the AFM structure for the named builtin font. |
Methods inherited from class de.intarsys.pdf.font.PDSingleByteFont |
---|
getGlyphsEncoded, getGlyphWidthEncoded, getGlyphWidths, getNextGlyphsEncoded, invalidateCaches |
Methods inherited from class de.intarsys.pdf.font.PDFont |
---|
dumpFontFile, getBaseFont, getEncoding, getFirstChar, getFontDescriptor, getFontFamilyName, getFontFamilyName, getFontName, getFontName, getFontStyle, getFontStyle, getLastChar, getLookupFontFamilyName, getLookupFontName, getLookupFontStyle, getMacintoshRomanCode, getMissingWidth, getToUnicode, isEmbedded, isSubset, setBaseFont, setEncoding, setFontDescriptor, setLookupFontFamilyName, setLookupFontName, setLookupFontStyle, setToUnicode, 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, 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 Map<String,String> FONT_ALIASES
public static final Map<String,String> FONT_ALIASES_DEPRECATED
public static String FONT_Courier
public static String FONT_Courier_Bold
public static String FONT_Courier_BoldOblique
public static String FONT_Courier_Oblique
public static String FONT_Helvetica
public static String FONT_Helvetica_Bold
public static String FONT_Helvetica_BoldOblique
public static String FONT_Helvetica_Oblique
public static String FONT_Symbol
public static String FONT_Times_Bold
public static String FONT_Times_BoldItalic
public static String FONT_Times_Italic
public static String FONT_Times_Roman
public static String FONT_ZapfDingbats
public static final String[] FONT_BUILTINS
public static final PDFontType1.MetaClass META
Method Detail |
---|
public static PDFontType1 createNew(String name)
name
- the name of the font to use
public static boolean isBuiltin(String name)
public static boolean isBuiltinAlias(String name)
public static boolean isBuiltinDeprecated(String name)
public static de.intarsys.cwt.font.afm.AFM lookupBuiltinAFM(String name)
AFM
structure for the named builtin font.
name
-
AFM
structure for the named builtin font.public String getFontNameNormalized()
getFontNameNormalized
in class PDFont
public String getFontType()
getFontType
in class PDFont
public boolean isStandardFont()
PDFont
isStandardFont
in class PDFont
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |