com.sun.pdfview.font

Class Type0Font

public class Type0Font extends PDFFont

Type 0 fonts are composite fonts with a CMAP to map between source character codes and destination fonts/codes
Constructor Summary
Type0Font(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor)
Creates a new instance of Type0Font
Method Summary
PDFFontgetDescendantFont(int fontID)
Get a descendant font of this font by fontId
protected PDFGlyphgetGlyph(char src, String name)
Get a character from the first font in the descendant fonts array

Constructor Detail

Type0Font

public Type0Font(String baseFont, PDFObject fontObj, PDFFontDescriptor descriptor)
Creates a new instance of Type0Font

Method Detail

getDescendantFont

public PDFFont getDescendantFont(int fontID)
Get a descendant font of this font by fontId

getGlyph

protected PDFGlyph getGlyph(char src, String name)
Get a character from the first font in the descendant fonts array