org.apache.fop.pdf

Class PDFFontTrueType

Implemented Interfaces:
PDFWritable

public class PDFFontTrueType
extends PDFFontNonBase14

Class representing a TrueType font.

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

PDFFontTrueType(String fontname, String basefont, 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, fillInPDF, getName, getPDFNameForFontType, toPDFString, validate

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, toPDFString

Constructor Details

PDFFontTrueType

public PDFFontTrueType(String fontname,
                       String basefont,
                       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

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