Uses of Class
com.itextpdf.io.font.otf.Glyph
-
Packages that use Glyph Package Description com.itextpdf.io.font com.itextpdf.io.font.otf com.itextpdf.io.util com.itextpdf.kernel.font com.itextpdf.kernel.pdf.canvas com.itextpdf.layout.renderer -
-
Uses of Glyph in com.itextpdf.io.font
Subclasses of Glyph in com.itextpdf.io.font Modifier and Type Class Description (package private) class
GidAwareGlyph
Fields in com.itextpdf.io.font with type parameters of type Glyph Modifier and Type Field Description protected java.util.Map<java.lang.Integer,Glyph>
FontProgram. codeToGlyph
protected java.util.Map<java.lang.Integer,Glyph>
FontProgram. unicodeToGlyph
Methods in com.itextpdf.io.font that return Glyph Modifier and Type Method Description Glyph
FontProgram. getGlyph(int unicode)
Glyph
Type1Font. getGlyph(java.lang.String name)
Find glyph by glyph name.Glyph
FontProgram. getGlyphByCode(int charCode)
Methods in com.itextpdf.io.font with parameters of type Glyph Modifier and Type Method Description int
CidFont. getKerning(Glyph glyph1, Glyph glyph2)
abstract int
FontProgram. getKerning(Glyph first, Glyph second)
Gets the kerning between two glyphs.int
TrueTypeFont. getKerning(Glyph first, Glyph second)
Gets the kerning between two glyphs.int
Type1Font. getKerning(Glyph first, Glyph second)
-
Uses of Glyph in com.itextpdf.io.font.otf
Fields in com.itextpdf.io.font.otf declared as Glyph Modifier and Type Field Description private Glyph
OpenTableLookup.GlyphIndexer. glyph
Fields in com.itextpdf.io.font.otf with type parameters of type Glyph Modifier and Type Field Description protected java.util.List<Glyph>
GlyphLine. glyphs
private java.util.Map<java.lang.Integer,Glyph>
OpenTypeFontTableReader. indexGlyphMap
Methods in com.itextpdf.io.font.otf that return Glyph Modifier and Type Method Description Glyph
GlyphLine. get(int index)
Glyph
OpenTableLookup.GlyphIndexer. getGlyph()
Retrieves the glyph of the object.Glyph
OpenTypeFontTableReader. getGlyph(int index)
Glyph
GlyphLine. set(int index, Glyph glyph)
Methods in com.itextpdf.io.font.otf with parameters of type Glyph Modifier and Type Method Description boolean
GlyphLine.IGlyphLineFilter. accept(Glyph glyph)
void
GlyphLine. add(int index, Glyph glyph)
void
GlyphLine. add(Glyph glyph)
Glyph
GlyphLine. set(int index, Glyph glyph)
void
OpenTableLookup.GlyphIndexer. setGlyph(Glyph glyph)
Sets the glyph of the object.Method parameters in com.itextpdf.io.font.otf with type arguments of type Glyph Modifier and Type Method Description private void
GlyphLine. addAllGlyphs(int index, java.util.List<Glyph> additionalGlyphs)
void
GlyphLine. setGlyphs(java.util.List<Glyph> replacementGlyphs)
Constructors in com.itextpdf.io.font.otf with parameters of type Glyph Constructor 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 charactersGlyph(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 glyphConstructor parameters in com.itextpdf.io.font.otf with type arguments of type Glyph Constructor Description GlyphLine(java.util.List<Glyph> glyphs)
Create a new line of Glyphs.GlyphLine(java.util.List<Glyph> glyphs, int start, int end)
Create a new line of Glyphs from a slice of a List of Glyphs.GlyphLine(java.util.List<Glyph> glyphs, java.util.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, java.util.Map<java.lang.Integer,Glyph> indexGlyphMap, int unitsPerEm)
GlyphSubstitutionTableReader(RandomAccessFileOrArray rf, int gsubTableLocation, OpenTypeGdefTableReader gdef, java.util.Map<java.lang.Integer,Glyph> indexGlyphMap, int unitsPerEm)
OpenTypeFontTableReader(RandomAccessFileOrArray rf, int tableLocation, OpenTypeGdefTableReader gdef, java.util.Map<java.lang.Integer,Glyph> indexGlyphMap, int unitsPerEm)
-
Uses of Glyph in com.itextpdf.io.util
Methods in com.itextpdf.io.util with parameters of type Glyph Modifier and Type Method Description static boolean
TextUtil. isLetterOrDigit(Glyph glyph)
static boolean
TextUtil. isMark(Glyph glyph)
static boolean
TextUtil. isNewLine(Glyph glyph)
Check if a glyph is a newline by checking if it's unicode value is a newlinestatic boolean
TextUtil. isNonBreakingHyphen(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)
-
Uses of Glyph in com.itextpdf.kernel.font
Fields in com.itextpdf.kernel.font with type parameters of type Glyph Modifier and Type Field Description protected java.util.Map<java.lang.Integer,Glyph>
PdfFont. notdefGlyphs
Methods in com.itextpdf.kernel.font that return Glyph Modifier and Type Method Description abstract Glyph
PdfFont. getGlyph(int unicode)
Get glyph by unicodeGlyph
PdfTrueTypeFont. getGlyph(int unicode)
Glyph
PdfType0Font. getGlyph(int unicode)
Glyph
PdfType1Font. getGlyph(int unicode)
Glyph
PdfType3Font. getGlyph(int unicode)
Methods in com.itextpdf.kernel.font with parameters of type Glyph Modifier and Type Method Description abstract byte[]
PdfFont. convertToBytes(Glyph glyph)
byte[]
PdfSimpleFont. convertToBytes(Glyph glyph)
byte[]
PdfType0Font. convertToBytes(Glyph glyph)
private void
PdfType0Font. convertToBytes(Glyph glyph, ByteBuffer result)
int
Type3Font. getKerning(Glyph glyph1, Glyph glyph2)
private boolean
PdfSimpleFont. isAppendableGlyph(Glyph glyph)
Checks whether the glyph is appendable, i.e.private boolean
PdfType0Font. isAppendableGlyph(Glyph glyph)
Method parameters in com.itextpdf.kernel.font with type arguments of type Glyph Modifier and Type Method Description abstract int
PdfFont. appendAnyGlyph(java.lang.String text, int from, java.util.List<Glyph> glyphs)
Append any single glyph, even notdef.int
PdfSimpleFont. appendAnyGlyph(java.lang.String text, int from, java.util.List<Glyph> glyphs)
int
PdfType0Font. appendAnyGlyph(java.lang.String text, int from, java.util.List<Glyph> glyphs)
boolean
PdfFont. appendDecodedCodesToGlyphsList(java.util.List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.boolean
PdfSimpleFont. appendDecodedCodesToGlyphsList(java.util.List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.boolean
PdfType0Font. appendDecodedCodesToGlyphsList(java.util.List<Glyph> list, PdfString characterCodes)
Decodes sequence of character codes (e.g.abstract int
PdfFont. appendGlyphs(java.lang.String text, int from, int to, java.util.List<Glyph> glyphs)
Append all supported glyphs and return number of processed chars.int
PdfSimpleFont. appendGlyphs(java.lang.String text, int from, int to, java.util.List<Glyph> glyphs)
int
PdfType0Font. appendGlyphs(java.lang.String text, int from, int to, java.util.List<Glyph> glyphs)
private int
PdfType0Font. appendUniGlyphs(java.lang.String text, int from, int to, java.util.List<Glyph> glyphs)
private static int
PdfType0Font. writeBfrange(HighPrecisionOutputStream<ByteArrayOutputStream> stream, java.util.List<Glyph> range)
-
Uses of Glyph in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type Glyph Modifier and Type Method Description private float
PdfCanvas. getWordSpacingAddition(Glyph glyph)
-
Uses of Glyph in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as Glyph Modifier and Type Field Description private Glyph
LineRenderer.RendererGlyph. glyph
Methods in com.itextpdf.layout.renderer that return Glyph Modifier and Type Method Description Glyph
LineRenderer.RendererGlyph. getGlyph()
Retrieves the glyph of the object.Methods in com.itextpdf.layout.renderer with parameters of type Glyph Modifier and Type Method Description boolean
TextRenderer.CustomGlyphLineFilter. accept(Glyph glyph)
private static java.lang.Integer
TextPreprocessingUtil. calculateXAdvancement(int spaceWidth, boolean isMonospaceFont, Glyph glyph)
private float
TextRenderer. getCharWidth(Glyph g, float fontSize, java.lang.Float hScale, java.lang.Float characterSpacing, java.lang.Float wordSpacing)
private boolean
TextRenderer. isGlyphPartOfWordForHyphenation(Glyph g)
private static boolean
TextRenderer. noPrint(Glyph g)
private void
TextRenderer. saveWordBreakIfNotYetSaved(Glyph wordBreak)
void
LineRenderer.RendererGlyph. setGlyph(Glyph glyph)
Sets the glyph of the object.Constructors in com.itextpdf.layout.renderer with parameters of type Glyph Constructor Description RendererGlyph(Glyph glyph, TextRenderer textRenderer)
-