Uses of Class
com.itextpdf.io.font.otf.Glyph
Packages that use Glyph
Package
Description
-
Uses of Glyph in com.itextpdf.io.font
Subclasses of Glyph in com.itextpdf.io.fontFields in com.itextpdf.io.font with type parameters of type GlyphMethods in com.itextpdf.io.font that return GlyphModifier and TypeMethodDescriptionFontProgram.getGlyph
(int unicode) Find glyph by glyph name.FontProgram.getGlyphByCode
(int charCode) Methods in com.itextpdf.io.font with parameters of type GlyphModifier and TypeMethodDescriptionint
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 GlyphFields in com.itextpdf.io.font.otf with type parameters of type GlyphMethods in com.itextpdf.io.font.otf that return GlyphModifier and TypeMethodDescriptionGlyphLine.get
(int index) OpenTableLookup.GlyphIndexer.getGlyph()
Retrieves the glyph of the object.OpenTypeFontTableReader.getGlyph
(int index) Methods in com.itextpdf.io.font.otf with parameters of type GlyphModifier and TypeMethodDescriptionboolean
void
void
void
Sets the glyph of the object.Method parameters in com.itextpdf.io.font.otf with type arguments of type GlyphModifier and TypeMethodDescriptionprivate void
GlyphLine.addAllGlyphs
(int index, List<Glyph> additionalGlyphs) void
Constructors in com.itextpdf.io.font.otf with parameters of type GlyphModifierConstructorDescriptionCopy a Glyph.Copy a glyph and assign the copied glyph a new unicode point and charactersCopy 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 GlyphModifierConstructorDescriptionCreate a new line of Glyphs.Create a new line of Glyphs from a slice of a List of Glyphs.protected
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) protected
OpenTypeFontTableReader
(RandomAccessFileOrArray rf, int tableLocation, OpenTypeGdefTableReader gdef, Map<Integer, Glyph> indexGlyphMap, int unitsPerEm) -
Uses of Glyph in com.itextpdf.io.util
Methods in com.itextpdf.io.util with parameters of type GlyphModifier and TypeMethodDescriptionstatic boolean
TextUtil.isLetterOrDigit
(Glyph glyph) static boolean
static boolean
Check if a glyph is a newline by checking if it's unicode value is a newlinestatic boolean
TextUtil.isNonBreakingHyphen
(Glyph glyph) static boolean
static boolean
TextUtil.isSpaceOrWhitespace
(Glyph glyph) static boolean
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 GlyphMethods in com.itextpdf.kernel.font that return GlyphModifier and TypeMethodDescriptionabstract Glyph
PdfFont.getGlyph
(int unicode) Get glyph by unicodePdfTrueTypeFont.getGlyph
(int unicode) PdfType0Font.getGlyph
(int unicode) PdfType1Font.getGlyph
(int unicode) PdfType3Font.getGlyph
(int unicode) Methods in com.itextpdf.kernel.font with parameters of type GlyphModifier and TypeMethodDescriptionabstract 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 GlyphModifier and TypeMethodDescriptionabstract int
PdfFont.appendAnyGlyph
(String text, int from, List<Glyph> glyphs) Append any single glyph, even notdef.int
PdfSimpleFont.appendAnyGlyph
(String text, int from, List<Glyph> glyphs) int
PdfType0Font.appendAnyGlyph
(String text, int from, List<Glyph> glyphs) boolean
PdfFont.appendDecodedCodesToGlyphsList
(List<Glyph> list, PdfString characterCodes) Decodes sequence of character codes (e.g.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.abstract int
PdfFont.appendGlyphs
(String text, int from, int to, List<Glyph> glyphs) Append all supported glyphs and return number of processed chars.int
PdfSimpleFont.appendGlyphs
(String text, int from, int to, List<Glyph> glyphs) int
PdfType0Font.appendGlyphs
(String text, int from, int to, List<Glyph> glyphs) private int
PdfType0Font.appendUniGlyphs
(String text, int from, int to, List<Glyph> glyphs) private static int
PdfType0Font.writeBfrange
(HighPrecisionOutputStream<ByteArrayOutputStream> stream, List<Glyph> range) -
Uses of Glyph in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type Glyph -
Uses of Glyph in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as GlyphMethods in com.itextpdf.layout.renderer that return GlyphModifier and TypeMethodDescriptionLineRenderer.RendererGlyph.getGlyph()
Retrieves the glyph of the object.Methods in com.itextpdf.layout.renderer with parameters of type GlyphModifier and TypeMethodDescriptionboolean
private static Integer
TextPreprocessingUtil.calculateXAdvancement
(int spaceWidth, boolean isMonospaceFont, Glyph glyph) private float
TextRenderer.getCharWidth
(Glyph g, float fontSize, Float hScale, Float characterSpacing, Float wordSpacing) private boolean
TextRenderer.isGlyphPartOfWordForHyphenation
(Glyph g) private static boolean
private void
TextRenderer.saveWordBreakIfNotYetSaved
(Glyph wordBreak) void
Sets the glyph of the object.Constructors in com.itextpdf.layout.renderer with parameters of type Glyph