Package | Description |
---|---|
com.itextpdf.io.font | |
com.itextpdf.io.font.otf | |
com.itextpdf.io.util | |
com.itextpdf.kernel.font | |
com.itextpdf.layout.font |
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,Glyph> |
FontProgram.codeToGlyph |
protected Map<Integer,Glyph> |
FontProgram.unicodeToGlyph |
Modifier and Type | Method and Description |
---|---|
Glyph |
FontProgram.getGlyph(int unicode) |
Glyph |
Type1Font.getGlyph(String name)
Find glyph by glyph name.
|
Glyph |
FontProgram.getGlyphByCode(int charCode) |
Modifier and Type | Method and Description |
---|---|
int |
Type1Font.getKerning(Glyph first, Glyph second) |
int |
TrueTypeFont.getKerning(Glyph first, Glyph second)
Gets the kerning between two glyphs.
|
abstract int |
FontProgram.getKerning(Glyph first, Glyph second)
Gets the kerning between two glyphs.
|
int |
CidFont.getKerning(Glyph glyph1, Glyph glyph2) |
Modifier and Type | Field and Description |
---|---|
Glyph |
OpenTableLookup.GlyphIndexer.glyph |
Modifier and Type | Field and Description |
---|---|
protected List<Glyph> |
GlyphLine.glyphs |
Modifier and Type | Method and Description |
---|---|
Glyph |
GlyphLine.get(int index) |
Glyph |
OpenTypeFontTableReader.getGlyph(int index) |
Glyph |
GlyphLine.set(int index, Glyph glyph) |
Modifier and Type | Method and Description |
---|---|
boolean |
GlyphLine.IGlyphLineFilter.accept(Glyph glyph) |
void |
GlyphLine.add(Glyph glyph) |
void |
GlyphLine.add(int index, Glyph glyph) |
Glyph |
GlyphLine.set(int index, Glyph glyph) |
Modifier and Type | Method and Description |
---|---|
void |
GlyphLine.setGlyphs(List<Glyph> replacementGlyphs) |
Constructor and Description |
---|
Glyph(Glyph glyph)
Copy a Glyph.
|
Glyph(Glyph glyph, int unicode)
Copy a glyph and assign the copied glyph a new unicode point and characters
|
Glyph(Glyph glyph, int xPlacement, int yPlacement, int xAdvance, int yAdvance, int anchorDelta)
Copy a Glyph and assign new placement and advance offsets and a new index delta to base glyph
|
Constructor and Description |
---|
GlyphLine(List<Glyph> glyphs)
Create a new line of Glyphs.
|
GlyphLine(List<Glyph> glyphs, int start, int end)
Create a new line of Glyphs from a slice of a List of Glyphs.
|
GlyphLine(List<Glyph> glyphs, List<GlyphLine.ActualText> actualText, int start, int end)
Create a new line of Glyphs from a slice of a List of Glyphs, and add the actual text.
|
GlyphPositioningTableReader(RandomAccessFileOrArray rf, int gposTableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) |
GlyphSubstitutionTableReader(RandomAccessFileOrArray rf, int gsubTableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) |
OpenTypeFontTableReader(RandomAccessFileOrArray rf, int tableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TextUtil.isNewLine(Glyph glyph) |
static boolean |
TextUtil.isSpace(Glyph glyph) |
static boolean |
TextUtil.isSpaceOrWhitespace(Glyph glyph) |
static boolean |
TextUtil.isUni0020(Glyph g) |
static boolean |
TextUtil.isWhitespace(Glyph glyph) |
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,Glyph> |
PdfFont.notdefGlyphs |
Modifier and Type | Method and Description |
---|---|
Glyph |
PdfType3Font.getGlyph(int unicode) |
Glyph |
PdfType1Font.getGlyph(int unicode) |
Glyph |
PdfType0Font.getGlyph(int unicode) |
Glyph |
PdfTrueTypeFont.getGlyph(int unicode) |
abstract Glyph |
PdfFont.getGlyph(int unicode)
Get glyph by unicode
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PdfType0Font.convertToBytes(Glyph glyph) |
byte[] |
PdfSimpleFont.convertToBytes(Glyph glyph) |
abstract byte[] |
PdfFont.convertToBytes(Glyph glyph) |
int |
Type3FontProgram.getKerning(Glyph glyph1, Glyph glyph2) |
Modifier and Type | Method and Description |
---|---|
int |
PdfType0Font.appendAnyGlyph(String text, int from, List<Glyph> glyphs) |
int |
PdfSimpleFont.appendAnyGlyph(String text, int from, List<Glyph> glyphs) |
int |
PdfFont.appendAnyGlyph(String text, int from, List<Glyph> glyphs)
Append any single glyph, even notdef.
|
int |
PdfType0Font.appendGlyphs(String text, int from, int to, List<Glyph> glyphs) |
int |
PdfSimpleFont.appendGlyphs(String text, int from, int to, List<Glyph> glyphs) |
int |
PdfFont.appendGlyphs(String text, int from, int to, List<Glyph> glyphs)
Append all supported glyphs and return number of processed chars.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Glyph> |
FontSelectorStrategy.nextGlyphs() |
List<Glyph> |
ComplexFontSelectorStrategy.nextGlyphs() |
Copyright © 1998–2018 iText Group NV. All rights reserved.