|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFFont
org.apache.fop.pdf.PDFFontNonBase14
org.apache.fop.pdf.PDFFontType3
class representing a Type3 font.
CAUTION: this is not yet fully implemented!!!!!!!
the /CharProcs is still missing its toPDF()
method.
Field Summary | |
---|---|
protected PDFCharProcs |
charProcs
font's required /CharProcs dictionary |
protected PDFRectangle |
fontBBox
font's required /FontBBox bounding box |
protected PDFArray |
fontMatrix
font's required /FontMatrix array |
protected PDFResources |
resources
font's optional /Resources object |
Fields inherited from class org.apache.fop.pdf.PDFFontNonBase14 |
---|
descriptor, firstChar, lastChar, widths |
Fields inherited from class org.apache.fop.pdf.PDFFont |
---|
basefont, encoding, fontname, MMTYPE1, subtype, TRUETYPE, TYPE_NAMES, TYPE0, TYPE1, TYPE3 |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
generation, number |
Constructor Summary | |
---|---|
PDFFontType3(int number,
java.lang.String fontname,
byte subtype,
java.lang.String basefont,
java.lang.Object encoding)
create the /Font object |
|
PDFFontType3(int number,
java.lang.String fontname,
byte subtype,
java.lang.String basefont,
java.lang.Object encoding,
PDFRectangle fontBBox,
PDFArray fontMatrix,
PDFCharProcs charProcs)
create the /Font object |
Method Summary | |
---|---|
protected void |
fillInPDF(java.lang.StringBuffer p)
fill in the specifics for the font's subtype. |
void |
setCharProcs(PDFCharProcs chars)
set the glyphs' definitions. |
void |
setFontBBox(PDFRectangle bbox)
set the font's bounding box |
void |
setFontMatrix(PDFArray matrix)
set the font's transformation matrix |
Methods inherited from class org.apache.fop.pdf.PDFFontNonBase14 |
---|
setDescriptor, setWidthMetrics |
Methods inherited from class org.apache.fop.pdf.PDFFont |
---|
createFont, createFont, getName, toPDF |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
getNumber, output, referencePDF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected PDFRectangle fontBBox
protected PDFArray fontMatrix
protected PDFCharProcs charProcs
protected PDFResources resources
Constructor Detail |
public PDFFontType3(int number, java.lang.String fontname, byte subtype, java.lang.String basefont, java.lang.Object encoding)
number
- the object's numberfontname
- the internal name for the fontsubtype
- the font's subtype (PDFFont.TYPE3)basefont
- the base font nameencoding
- the character encoding schema used by the fontpublic PDFFontType3(int number, java.lang.String fontname, byte subtype, java.lang.String basefont, java.lang.Object encoding, PDFRectangle fontBBox, PDFArray fontMatrix, PDFCharProcs charProcs)
number
- the object's numberfontname
- the internal name for the fontsubtype
- the font's subtype (PDFFont.TYPE3)basefont
- the base font nameencoding
- the character encoding schema used by the fontfontBBox
- the font's bounding boxfontMatrix
- the font's transformation matrixcharProcs
- the glyphs' definitionsMethod Detail |
public void setFontBBox(PDFRectangle bbox)
bbox
- bounding box for the fontpublic void setFontMatrix(PDFArray matrix)
matrix
- the transformation matrix for the fontpublic void setCharProcs(PDFCharProcs chars)
chars
- the glyphs' dictionaryprotected void fillInPDF(java.lang.StringBuffer p)
fillInPDF
in class PDFFontNonBase14
p
- the buffer to be completed with the type specific fields
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |