org.apache.fop.pdf
Class PDFFontType1
org.apache.fop.pdf.PDFObject
|
+--org.apache.fop.pdf.PDFFont
|
+--org.apache.fop.pdf.PDFFontNonBase14
|
+--org.apache.fop.pdf.PDFFontType1
- 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.
Constructor Summary |
PDFFontType1(int number, String fontname, byte subtype, String basefont, Object encoding) create the /Font object |
PDFFontType1
public PDFFontType1(int number, String fontname, byte subtype, String basefont, Object encoding)
- create the /Font object
- Parameters:
- number - the object's number
- fontname - the internal name for the font
- subtype - the font's subtype (PDFFont.TYPE1 or PDFFont.MMTYPE1)
- basefont - the base font name
- encoding - the character encoding schema used by the font
- mapping - the Unicode mapping mechanism