public class LatinGlyphMapper extends GlyphMapper
Constructor and Description |
---|
LatinGlyphMapper(java.util.Map fontDict,
PDFFile srcfile) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canHandleEncoding(java.lang.String pdfEncodingName) |
boolean |
isMultiByte()
Returns true if the encoding consumes more than single byte for a character.
|
int |
mapBytesToChars(byte[] inbytes,
int offset,
int len,
char[] outchars)
The workhorse.
|
int |
maximumOutputBufferSize(byte[] inbytes,
int offset,
int len)
Quickly returns the maximum number of chars that could result from the conversion of inbytes bytes according to
the encoding.
|
adobeGlyphNameToUnicode, createGlyphMapper, main, mapCharsToGIDs, setCIDToGIDMap, supportsCIDToGIDMapping
public LatinGlyphMapper(java.util.Map fontDict, PDFFile srcfile)
public static boolean canHandleEncoding(java.lang.String pdfEncodingName)
public boolean isMultiByte()
GlyphMapper
isMultiByte
in class GlyphMapper
public int maximumOutputBufferSize(byte[] inbytes, int offset, int len)
GlyphMapper
maximumOutputBufferSize
in class GlyphMapper
public int mapBytesToChars(byte[] inbytes, int offset, int len, char[] outchars)
GlyphMapper
mapBytesToChars
in class GlyphMapper