| java.lang.Object com.sun.pdfview.font.PDFFont com.sun.pdfview.font.Type3Font
Type3Font | public class Type3Font extends PDFFont (Code) | | A Type 3 Font, in which each glyph consists of a sequence of PDF
commands.
author: Mike Wessler |
charProcs | Map charProcs(Code) | | the character processes, mapped by name
|
firstChar | int firstChar(Code) | | the start code
|
lastChar | int lastChar(Code) | | the end code
|
widths | float[] widths(Code) | | the widths
|
Type3Font | public Type3Font(String baseFont, PDFObject fontObj, HashMap resources, PDFFontDescriptor descriptor) throws IOException(Code) | | Generate a Type 3 font.
Parameters: baseFont - the postscript name of this font Parameters: fontObj - a dictionary containing references to the characterdefinitions and font information Parameters: resources - a set of resources used by the character definitions Parameters: descriptor - the descriptor for this font |
getFirstChar | public int getFirstChar()(Code) | | Get the first character code
|
getGlyph | protected PDFGlyph getGlyph(char src, String name)(Code) | | Get the glyph for a given character code and name
The preferred method of getting the glyph should be by name. If the
name is null or not valid, then the character code should be used.
If the both the code and the name are invalid, the undefined glyph
should be returned.
Note this method must *always* return a glyph.
Parameters: src - the character code of this glyph Parameters: name - the name of this glyph or null if unknown a glyph for this character |
getLastChar | public int getLastChar()(Code) | | Get the last character code
|
|
|