Package | Description |
---|---|
com.itextpdf.io.font | |
com.itextpdf.io.font.otf | |
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 |
TrueTypeFont.getKerning(Glyph first, Glyph second)
Gets the kerning between two glyphs.
|
int |
Type1Font.getKerning(Glyph first, Glyph second) |
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 | 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 |
PdfTrueTypeFont.getGlyph(int unicode) |
Glyph |
PdfType0Font.getGlyph(int unicode) |
abstract Glyph |
PdfFont.getGlyph(int unicode)
Get glyph by unicode
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PdfSimpleFont.convertToBytes(Glyph glyph) |
byte[] |
PdfType0Font.convertToBytes(Glyph glyph) |
abstract byte[] |
PdfFont.convertToBytes(Glyph glyph) |
protected double |
PdfType3Font.getGlyphWidth(Glyph glyph) |
protected double |
PdfSimpleFont.getGlyphWidth(Glyph glyph)
Deprecated.
This method was introduced to allow overriding of widths array entry writing to output file. It's now replaced by more specific
PdfSimpleFont.buildWidthsArray(int, int) in order to avoid confusion between this method and getWidth() . This method will be removed in the next major release.
|
int |
Type3Font.getKerning(Glyph glyph1, Glyph glyph2) |
Modifier and Type | Method and Description |
---|---|
int |
PdfSimpleFont.appendAnyGlyph(String text, int from, List<Glyph> glyphs) |
int |
PdfType0Font.appendAnyGlyph(String text, int from, List<Glyph> glyphs) |
abstract int |
PdfFont.appendAnyGlyph(String text, int from, List<Glyph> glyphs)
Append any single glyph, even notdef.
|
boolean |
PdfSimpleFont.appendDecodedCodesToGlyphsList(List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.
|
boolean |
PdfType0Font.appendDecodedCodesToGlyphsList(List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.
|
boolean |
PdfFont.appendDecodedCodesToGlyphsList(List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.
|
int |
PdfSimpleFont.appendGlyphs(String text, int from, int to, List<Glyph> glyphs) |
int |
PdfType0Font.appendGlyphs(String text, int from, int to, List<Glyph> glyphs) |
abstract 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 |
---|---|
List<Glyph> |
ComplexFontSelectorStrategy.nextGlyphs() |
abstract List<Glyph> |
FontSelectorStrategy.nextGlyphs() |
Copyright © 1998–2023 iText Group NV. All rights reserved.