fop 0.94

org.apache.fop.pdf
Class PDFFontType1

java.lang.Object
  extended by org.apache.fop.pdf.PDFObject
      extended by org.apache.fop.pdf.PDFFont
          extended by org.apache.fop.pdf.PDFFontNonBase14
              extended by org.apache.fop.pdf.PDFFontType1
All Implemented Interfaces:
PDFWritable

public class PDFFontType1
extends PDFFontNonBase14

Class representing a Type1 or MMType1 font (not necessary for the base 14).

Type1 fonts are specified on page 201 and onwards of the PDF 1.3 spec.
MMType1 fonts are specified on page 205 and onwards of the PDF 1.3 spec.

In fact everything already done in the superclass. Must only define the not default constructor.


Field Summary
 
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
PDFFontType1(java.lang.String fontname, java.lang.String basefont, java.lang.Object encoding)
          Create the /Font object
 
Method Summary
 
Methods inherited from class org.apache.fop.pdf.PDFFontNonBase14
fillInPDF, 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, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFFontType1

public PDFFontType1(java.lang.String fontname,
                    java.lang.String basefont,
                    java.lang.Object encoding)
Create the /Font object

Parameters:
fontname - the internal name for the font
basefont - the base font name
encoding - the character encoding schema used by the font

fop 0.94

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.