|
fop 0.93 | ||||||||||
| 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.
Type3 fonts are specified on page 206 and onwards of the PDF 1.3 spec.
| 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, subtype |
| Fields inherited from class org.apache.fop.pdf.PDFObject |
DATE_FORMAT, log |
| Constructor Summary | |
PDFFontType3(java.lang.String fontname,
java.lang.String basefont,
java.lang.Object encoding)
Create the /Font object |
|
PDFFontType3(java.lang.String fontname,
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 target)
This method is called to receive 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 |
getDescriptor, setDescriptor, setWidthMetrics, validate |
| Methods inherited from class org.apache.fop.pdf.PDFFont |
createFont, createFont, getName, getPDFNameForFontType, toPDFString |
| Methods inherited from class org.apache.fop.pdf.PDFObject |
encode, encodeString, encodeText, formatDateTime, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, output, referencePDF, setDocument, setObjectNumber, toPDF |
| 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(java.lang.String fontname,
java.lang.String basefont,
java.lang.Object encoding)
fontname - the internal name for the fontbasefont - the base font nameencoding - the character encoding schema used by the font
public PDFFontType3(java.lang.String fontname,
java.lang.String basefont,
java.lang.Object encoding,
PDFRectangle fontBBox,
PDFArray fontMatrix,
PDFCharProcs charProcs)
fontname - the internal name for the fontbasefont - the base font nameencoding - the character encoding schema used by the fontfontBBox - the font's bounding boxfontMatrix - the font's transformation matrixcharProcs - the glyphs' definitions| Method 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)
The /CharProcs object needs to be registered in the document's resources.
chars - the glyphs' dictionaryprotected void fillInPDF(java.lang.StringBuffer target)
PDFFontThe given buffer already contains the fields common to all font types.
fillInPDF in class PDFFontNonBase14PDFFont.fillInPDF(StringBuffer)
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||