| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.fop.pdf.PDFObject | +--org.apache.fop.pdf.PDFFont
class representing a /Font object. A more complete object expressing the base font name and encoding of a font along with an internal name for the font used within streams of content. Fonts are specified on page 198 and onwards of the PDF 1.3 spec.
Field Summary | |
final static byte | MMTYPE1 font subtype to be used as parameter to createFont() |
final static byte | TRUETYPE font subtype to be used as parameter to createFont() |
final static byte | TYPE0 font subtype to be used as parameter to createFont() |
final static byte | TYPE1 font subtype to be used as parameter to createFont() |
final static byte | TYPE3 font subtype to be used as parameter to createFont() |
Constructor Summary | |
PDFFont(int number, String fontname, byte subtype, String basefont, Object encoding) create the /Font object |
Method Summary | |
static PDFFont | createFont(int number, String fontname, byte subtype, String basefont, Object encoding) factory method with the basic parameters |
static PDFFont | createFont(int number, String fontname, byte subtype, String basefont, Object encoding, int firstChar, int lastChar, PDFArray widths, PDFFontDescriptor descriptor) factory method with the extended parameters for Type1, MMType1 and TrueType |
String | getName() get the internal name used for this font |
byte[] | toPDF() produce the PDF representation for the object |
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, referencePDF |
Field Detail |
public final static byte MMTYPE1
public final static byte TRUETYPE
public final static byte TYPE0
public final static byte TYPE1
public final static byte TYPE3
Constructor Detail |
public PDFFont(int number, String fontname, byte subtype, String basefont, Object encoding)
Method Detail |
public static PDFFont createFont(int number, String fontname, byte subtype, String basefont, Object encoding)
public static PDFFont createFont(int number, String fontname, byte subtype, String basefont, Object encoding, int firstChar, int lastChar, PDFArray widths, PDFFontDescriptor descriptor)
public String getName()
public byte[] toPDF()
Association Links |
to Class java.lang.String
to Class java.lang.String
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |