|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.font.PDFFont
com.sun.pdfview.font.Type3Font
public class Type3Font
A Type 3 Font, in which each glyph consists of a sequence of PDF commands.
Constructor Summary | |
---|---|
Type3Font(java.lang.String baseFont,
PDFObject fontObj,
java.util.HashMap<java.lang.String,PDFObject> resources,
PDFFontDescriptor descriptor)
Generate a Type 3 font. |
Method Summary | |
---|---|
int |
getFirstChar()
Get the first character code |
protected PDFGlyph |
getGlyph(char src,
java.lang.String name)
Get the glyph for a given character code and name The preferred method of getting the glyph should be by name. |
int |
getLastChar()
Get the last character code |
Methods inherited from class com.sun.pdfview.font.PDFFont |
---|
equals, getBaseFont, getCachedGlyph, getDescriptor, getEncoding, getFont, getGlyphs, getSubtype, getUnicodeMap, hashCode, setBaseFont, setDescriptor, setEncoding, setSubtype, setUnicodeMap, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Type3Font(java.lang.String baseFont, PDFObject fontObj, java.util.HashMap<java.lang.String,PDFObject> resources, PDFFontDescriptor descriptor) throws java.io.IOException
baseFont
- the postscript name of this fontfontObj
- a dictionary containing references to the character
definitions and font informationresources
- a set of resources used by the character definitionsdescriptor
- the descriptor for this font
java.io.IOException
Method Detail |
---|
public int getFirstChar()
public int getLastChar()
protected PDFGlyph getGlyph(char src, java.lang.String name)
getGlyph
in class PDFFont
src
- the character code of this glyphname
- the name of this glyph or null if unknown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |