Package | Description |
---|---|
org.apache.fontbox.cmap |
This package holds classes that are necessary to parse cmap files.
|
org.apache.pdfbox.encoding.conversion |
This package contains the implementations for conversions of encodings and CMaps that are used in PDF documents.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
Modifier and Type | Method and Description |
---|---|
CMap |
CMapParser.parse(File file)
Parse a CMAP file on the file system.
|
CMap |
CMapParser.parse(String resourceRoot,
InputStream input)
This will parse the stream and create a cmap object.
|
Modifier and Type | Method and Description |
---|---|
void |
CMap.useCmap(CMap cmap)
Implementation of the usecmap operator.
|
Modifier and Type | Method and Description |
---|---|
String |
EncodingConverter.convertBytes(byte[] c,
int offset,
int length,
CMap cmap)
Convert bytes to a string.
|
String |
CJKConverter.convertBytes(byte[] c,
int offset,
int length,
CMap cmap)
Convert bytes to a string.
|
Modifier and Type | Field and Description |
---|---|
protected CMap |
PDFont.cmap
This is only used if this is a font object and it has an encoding and it is
a type0 font with a cmap.
|
protected CMap |
PDFont.toUnicodeCmap
The CMap holding the ToUnicode mapping.
|
Modifier and Type | Field and Description |
---|---|
protected static Map<String,CMap> |
PDFont.cmapObjects |
Modifier and Type | Method and Description |
---|---|
CMap |
PDFont.getToUnicodeCMap()
Returns the toUnicode mapping if present.
|
protected CMap |
PDFont.parseCmap(String cmapRoot,
InputStream cmapStream) |
Modifier and Type | Method and Description |
---|---|
protected String |
PDFont.cmapEncoding(int code,
int length,
boolean isCIDFont,
CMap sourceCmap)
Encode the given value using the CMap of the font.
|
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.