com.sun.pdfview.font

Class BuiltinFont

public class BuiltinFont extends Type1Font

This class represents the 14 built-in fonts. It reads these fonts from files in the "res" directory, as specified in BaseNames.properties.
Constructor Summary
BuiltinFont(String baseFont, PDFObject fontObj)
Create a new Builtin object based on the name of a built-in font This must be the name of one of the 14 built-in fonts!
BuiltinFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor)
create a new BuiltingFont object based on a description of the font from the PDF file.

Constructor Detail

BuiltinFont

public BuiltinFont(String baseFont, PDFObject fontObj)
Create a new Builtin object based on the name of a built-in font This must be the name of one of the 14 built-in fonts!

Parameters: baseFont the name of the font, from the PDF file fontObj the object containing font information

BuiltinFont

public BuiltinFont(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor)
create a new BuiltingFont object based on a description of the font from the PDF file. Parse the description for key information and use that to generate an appropriate font.