Uses of Class
com.itextpdf.io.font.otf.GlyphLine
-
-
Uses of GlyphLine in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer with parameters of type GlyphLine Modifier and Type Method Description protected TextRenderer
FormFieldValueNonTrimmingTextRenderer. createCopy(GlyphLine gl, PdfFont font)
-
Uses of GlyphLine in com.itextpdf.io.font.otf
Fields in com.itextpdf.io.font.otf declared as GlyphLine Modifier and Type Field Description private GlyphLine
ActualTextIterator. glyphLine
private GlyphLine
OpenTableLookup.GlyphIndexer. line
Methods in com.itextpdf.io.font.otf that return GlyphLine Modifier and Type Method Description GlyphLine
GlyphLine. copy(int left, int right)
Copy a slice of this Glyphline.GlyphLine
GlyphLine. filter(GlyphLine.IGlyphLineFilter filter)
GlyphLine
OpenTableLookup.GlyphIndexer. getLine()
Retrieves the glyph line of the object.Methods in com.itextpdf.io.font.otf with parameters of type GlyphLine Modifier and Type Method Description void
GlyphLine. add(GlyphLine other)
Add a line to the current one.protected boolean
ChainingContextualTable. checkIfBacktrackContextMatch(GlyphLine line, T rule)
Checks if given glyph line at the given position matches given rule.protected int
ContextualTable. checkIfContextMatch(GlyphLine line, T rule)
Checks if given glyph line matches given rule.protected boolean
ChainingContextualTable. checkIfLookaheadContextMatch(GlyphLine line, T rule, int startIdx)
Checks if given glyph line at the given position matches given rule.T
ChainingContextualTable. getMatchingContextRule(GlyphLine line)
T
ContextualTable. getMatchingContextRule(GlyphLine line)
Gets a most preferable context rule that matches the line at current position.void
GlyphLine. replaceContent(GlyphLine other)
Replaces the current content with the other line's content.void
OpenTableLookup.GlyphIndexer. setLine(GlyphLine line)
Sets the glyph line of the object.boolean
OpenTableLookup. transformLine(GlyphLine line)
boolean
GposLookupType1. transformOne(GlyphLine line)
boolean
GposLookupType2.PairPosAdjustmentFormat1. transformOne(GlyphLine line)
boolean
GposLookupType2.PairPosAdjustmentFormat2. transformOne(GlyphLine line)
boolean
GposLookupType2. transformOne(GlyphLine line)
boolean
GposLookupType4. transformOne(GlyphLine line)
boolean
GposLookupType5. transformOne(GlyphLine line)
boolean
GposLookupType6. transformOne(GlyphLine line)
boolean
GposLookupType7. transformOne(GlyphLine line)
boolean
GsubLookupType1. transformOne(GlyphLine line)
boolean
GsubLookupType2. transformOne(GlyphLine line)
boolean
GsubLookupType3. transformOne(GlyphLine line)
boolean
GsubLookupType4. transformOne(GlyphLine line)
boolean
GsubLookupType5. transformOne(GlyphLine line)
abstract boolean
OpenTableLookup. transformOne(GlyphLine line)
Constructors in com.itextpdf.io.font.otf with parameters of type GlyphLine Constructor Description ActualTextIterator(GlyphLine glyphLine)
ActualTextIterator(GlyphLine glyphLine, int start, int end)
GlyphLine(GlyphLine other)
Copy a line of Glyphs.GlyphLine(GlyphLine other, int start, int end)
Copy a slice of a line of Glyphs -
Uses of GlyphLine in com.itextpdf.io.util
Methods in com.itextpdf.io.util with parameters of type GlyphLine Modifier and Type Method Description static boolean
TextUtil. isCarriageReturnFollowedByLineFeed(GlyphLine glyphLine, int carriageReturnPosition)
-
Uses of GlyphLine in com.itextpdf.kernel.font
Methods in com.itextpdf.kernel.font that return GlyphLine Modifier and Type Method Description abstract GlyphLine
PdfFont. createGlyphLine(java.lang.String content)
GlyphLine
PdfSimpleFont. createGlyphLine(java.lang.String content)
GlyphLine
PdfType0Font. createGlyphLine(java.lang.String content)
abstract GlyphLine
PdfFont. decodeIntoGlyphLine(PdfString characterCodes)
Decodes sequence of character codes (e.g.GlyphLine
PdfSimpleFont. decodeIntoGlyphLine(PdfString content)
Decodes sequence of character codes (e.g.GlyphLine
PdfType0Font. decodeIntoGlyphLine(PdfString characterCodes)
Decodes sequence of character codes (e.g.Methods in com.itextpdf.kernel.font with parameters of type GlyphLine Modifier and Type Method Description abstract byte[]
PdfFont. convertToBytes(GlyphLine glyphLine)
byte[]
PdfSimpleFont. convertToBytes(GlyphLine glyphLine)
byte[]
PdfType0Font. convertToBytes(GlyphLine glyphLine)
abstract void
PdfFont. writeText(GlyphLine text, int from, int to, PdfOutputStream stream)
void
PdfSimpleFont. writeText(GlyphLine text, int from, int to, PdfOutputStream stream)
void
PdfType0Font. writeText(GlyphLine text, int from, int to, PdfOutputStream stream)
-
Uses of GlyphLine in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type GlyphLine Modifier and Type Method Description private float
PdfCanvas. getSubrangeWidth(GlyphLine text, int from, int to)
Finds horizontal distance between the start of the `from` glyph and end of `to` glyph.private float
PdfCanvas. getSubrangeYDelta(GlyphLine text, int from, int to)
PdfCanvas
PdfCanvas. showText(GlyphLine text)
Shows text (operator Tj).PdfCanvas
PdfCanvas. showText(GlyphLine text, java.util.Iterator<GlyphLine.GlyphLinePart> iterator)
Shows text (operator Tj). -
Uses of GlyphLine in com.itextpdf.layout.font.selectorstrategy
Methods in com.itextpdf.layout.font.selectorstrategy that return types with arguments of type GlyphLine Modifier and Type Method Description java.util.List<Tuple2<GlyphLine,PdfFont>>
AbstractFontSelectorStrategy. getGlyphLines(java.lang.String text)
Converts text into glyphs with the best matching font.java.util.List<Tuple2<GlyphLine,PdfFont>>
IFontSelectorStrategy. getGlyphLines(java.lang.String text)
Converts text into glyphs with the best matching font. -
Uses of GlyphLine in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as GlyphLine Modifier and Type Field Description protected GlyphLine
TextRenderer. line
protected GlyphLine
TextRenderer. savedWordBreakAtLineEnding
protected GlyphLine
TextRenderer. text
Methods in com.itextpdf.layout.renderer that return GlyphLine Modifier and Type Method Description private GlyphLine
TextRenderer. convertToGlyphLine(java.lang.String text)
GlyphLine
TextRenderer. getText()
static GlyphLine
TextPreprocessingUtil. replaceSpecialWhitespaceGlyphs(GlyphLine line, PdfFont font)
Replaces special whitespace glyphs to new whitespace ' ' glyph that has custom width.Methods in com.itextpdf.layout.renderer with parameters of type GlyphLine Modifier and Type Method Description (package private) static void
TypographyUtils. applyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo)
(package private) static void
TypographyUtils. applyOtfScript(FontProgram fontProgram, GlyphLine text, java.lang.Character.UnicodeScript script, java.lang.Object typographyConfig, SequenceId sequenceId, IMetaInfo metaInfo)
protected TextRenderer
TextRenderer. createCopy(GlyphLine gl, PdfFont font)
private static void
TextSequenceWordWrapping. fillActualTextChunkRelatedLists(GlyphLine glyphLine, java.util.List<java.lang.Integer> amountOfCharsBetweenTextStartAndActualTextChunk, java.util.List<java.lang.Integer> glyphLineBasedIndicesOfActualTextChunkEnds)
private float
TextRenderer. getGlyphLineWidth(GlyphLine glyphLine, float fontSize, float hScale, java.lang.Float characterSpacing, java.lang.Float wordSpacing)
private int[]
TextRenderer. getWordBoundsForHyphenation(GlyphLine text, int leftTextPos, int rightTextPos, int wordMiddleCharPos)
private static boolean
TextRenderer. glyphBelongsToNonBreakingHyphenRelatedChunk(GlyphLine text, int ind)
static GlyphLine
TextPreprocessingUtil. replaceSpecialWhitespaceGlyphs(GlyphLine line, PdfFont font)
Replaces special whitespace glyphs to new whitespace ' ' glyph that has custom width.protected void
TextRenderer. setProcessedGlyphLineAndFont(GlyphLine gl, PdfFont font)
void
TextRenderer. setText(GlyphLine text, PdfFont font)
Manually set a GlyphLine and PdfFont for rendering.Constructors in com.itextpdf.layout.renderer with parameters of type GlyphLine Constructor Description ReversedCharsIterator(java.util.List<int[]> reversedRange, GlyphLine line)
-
Uses of GlyphLine in com.itextpdf.layout.renderer.typography
Methods in com.itextpdf.layout.renderer.typography with parameters of type GlyphLine Modifier and Type Method Description boolean
AbstractTypographyApplier. applyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo)
boolean
DefaultTypographyApplier. applyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo)
boolean
AbstractTypographyApplier. applyOtfScript(TrueTypeFont font, GlyphLine glyphLine, java.lang.Character.UnicodeScript script, java.lang.Object configurator, SequenceId id, IMetaInfo metaInfo)
boolean
DefaultTypographyApplier. applyOtfScript(TrueTypeFont font, GlyphLine glyphLine, java.lang.Character.UnicodeScript script, java.lang.Object configurator, SequenceId id, IMetaInfo metaInfo)
-
Uses of GlyphLine in com.itextpdf.layout.splitting
Methods in com.itextpdf.layout.splitting with parameters of type GlyphLine Modifier and Type Method Description private boolean
DefaultSplitCharacters. isADigitChar(GlyphLine text, int glyphPos)
private static boolean
KeepAllSplitCharacters. isADigitChar(GlyphLine text, int glyphPos)
boolean
BreakAllSplitCharacters. isSplitCharacter(GlyphLine text, int glyphPos)
boolean
DefaultSplitCharacters. isSplitCharacter(GlyphLine text, int glyphPos)
boolean
ISplitCharacters. isSplitCharacter(GlyphLine text, int glyphPos)
The splitting implementation is free to look ahead or look behind characters to make a decision.boolean
KeepAllSplitCharacters. isSplitCharacter(GlyphLine text, int glyphPos)
-