|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.font.PDFCMap
public abstract class PDFCMap
A CMap maps from a character in a composite font to a font/glyph number pair in a CID font.
Constructor Summary | |
---|---|
protected |
PDFCMap()
Creates a new instance of CMap |
Method Summary | |
---|---|
static PDFCMap |
getCMap(PDFObject map)
Get a CMap, given a PDF object containing one of the following: a string name of a known CMap a stream containing a CMap definition |
static PDFCMap |
getCMap(java.lang.String mapName)
Get a CMap, given a string name |
int |
getFontID(char src)
Get the font number assoicated with a given source character |
abstract char |
map(char src)
Map a given source character to a destination character |
protected static PDFCMap |
parseCMap(PDFObject map)
Parse a CMap from a CMap stream |
protected static void |
populateCache()
Populate the cache with well-known types |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PDFCMap()
Method Detail |
---|
public static PDFCMap getCMap(PDFObject map) throws java.io.IOException
java.io.IOException
public static PDFCMap getCMap(java.lang.String mapName) throws java.io.IOException
java.io.IOException
protected static void populateCache()
protected static PDFCMap parseCMap(PDFObject map) throws java.io.IOException
java.io.IOException
public abstract char map(char src)
public int getFontID(char src)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |