Uses of Class
org.apache.fop.complexscripts.util.GlyphSequence
Package
Description
Classes for font handling.
-
Uses of GlyphSequence in org.apache.fop.complexscripts.fonts
Modifier and TypeFieldDescriptionprotected GlyphSequence
GlyphProcessingState.igs
current input glyph sequenceModifier and TypeMethodDescriptionGlyphProcessingState.getInput()
Obtain reference to input glyph sequence, which must not be modified.GlyphSubstitutionState.getOutput()
Obtain output glyph sequence.GlyphDefinitionTable.reorderCombiningMarks
(GlyphSequence gs, int[] widths, int[][] gpa, String script, String language) Reorder combining marks in glyph sequence so that they precede (within the sequence) the base character to which they are applied.static final GlyphSequence
GlyphSubstitutionSubtable.substitute
(GlyphSubstitutionState ss, GlyphSubstitutionSubtable[] sta, int sequenceIndex) Apply substitutions using specified state and subtable array.static final GlyphSequence
GlyphSubstitutionSubtable.substitute
(GlyphSequence gs, String script, String language, String feature, GlyphSubstitutionSubtable[] sta, ScriptContextTester sct) Apply substitutions.GlyphSubstitutionTable.substitute
(GlyphSequence gs, String script, String language) Perform substitution processing using all matching lookups.GlyphTable.LookupTable.substitute
(GlyphSubstitutionState ss, int sequenceIndex) Perform substitution processing on an existing glyph substitution state object using this lookup table's subtables.GlyphTable.LookupTable.substitute
(GlyphSequence gs, String script, String language, String feature, ScriptContextTester sct) Perform substitution processing using this lookup table's subtables.GlyphTable.UseSpec.substitute
(GlyphSequence gs, String script, String language, ScriptContextTester sct) Perform substitution processing using this use specification's lookup table.Modifier and TypeMethodDescriptionstatic final boolean
GlyphPositioningSubtable.position
(GlyphSequence gs, String script, String language, String feature, int fontSize, GlyphPositioningSubtable[] sta, int[] widths, int[][] adjustments, ScriptContextTester sct) Apply positioning.boolean
GlyphPositioningTable.position
(GlyphSequence gs, String script, String language, int fontSize, int[] widths, int[][] adjustments) Perform positioning processing using all matching lookups.boolean
GlyphTable.LookupTable.position
(GlyphSequence gs, String script, String language, String feature, int fontSize, int[] widths, int[][] adjustments, ScriptContextTester sct) Perform positioning processing using this lookup table's subtables.boolean
GlyphTable.UseSpec.position
(GlyphSequence gs, String script, String language, int fontSize, int[] widths, int[][] adjustments, ScriptContextTester sct) Perform positioning processing using this use specification's lookup table.GlyphDefinitionTable.reorderCombiningMarks
(GlyphSequence gs, int[] widths, int[][] gpa, String script, String language) Reorder combining marks in glyph sequence so that they precede (within the sequence) the base character to which they are applied.boolean
GlyphProcessingState.replaceInput
(int offset, int count, GlyphSequence gs) Replace subsequence of input glyph sequence starting at specified offset from current position and of lengthcount
glyphs with all glyphs in the replacement sequencegs
.boolean
GlyphProcessingState.replaceInput
(int offset, int count, GlyphSequence gs, int gsOffset, int gsCount) Replace subsequence of input glyph sequence starting at specified offset from current position and of lengthcount
glyphs with a subsequence of the sequencegs
starting from the specified offsetgsOffset
of lengthgsCount
glyphs.GlyphPositioningState.reset
(GlyphSequence gs, String script, String language, String feature, int fontSize, int[] widths, int[][] adjustments, ScriptContextTester sct) Reset glyph positioning state.protected GlyphProcessingState
GlyphProcessingState.reset
(GlyphSequence gs, String script, String language, String feature, ScriptContextTester sct) Reset glyph processing state.GlyphSubstitutionState.reset
(GlyphSequence gs, String script, String language, String feature, ScriptContextTester sct) Reset glyph substitution state.static final GlyphSequence
GlyphSubstitutionSubtable.substitute
(GlyphSequence gs, String script, String language, String feature, GlyphSubstitutionSubtable[] sta, ScriptContextTester sct) Apply substitutions.GlyphSubstitutionTable.substitute
(GlyphSequence gs, String script, String language) Perform substitution processing using all matching lookups.GlyphTable.LookupTable.substitute
(GlyphSequence gs, String script, String language, String feature, ScriptContextTester sct) Perform substitution processing using this lookup table's subtables.GlyphTable.UseSpec.substitute
(GlyphSequence gs, String script, String language, ScriptContextTester sct) Perform substitution processing using this use specification's lookup table.ModifierConstructorDescriptionGlyphPositioningState
(GlyphSequence gs, String script, String language, String feature, int fontSize, int[] widths, int[][] adjustments, ScriptContextTester sct) Construct glyph positioning state.protected
GlyphProcessingState
(GlyphSequence gs, String script, String language, String feature, ScriptContextTester sct) Construct glyph processing state.GlyphSubstitutionState
(GlyphSequence gs, String script, String language, String feature, ScriptContextTester sct) Construct glyph substitution state. -
Uses of GlyphSequence in org.apache.fop.complexscripts.scripts
Modifier and TypeMethodDescriptionArabicScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence gs, int[] widths, int[][] gpa, String script, String language) Reorder combining marks in glyph sequence so that they precede (within the sequence) the base character to which they are applied.DefaultScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence gs, int[] unscaledWidths, int[][] gpa, String script, String language) KhmerScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence glyphSequence, int[] unscaledWidths, int[][] glyphPositionAdjustments, String script, String language) ScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence gs, int[] unscaledWidths, int[][] gpa, String script, String language) Reorder combining marks in glyph sequence so that they precede (within the sequence) the base character to which they are applied.protected GlyphSequence[]
IndicScriptProcessor.DefaultSyllabizer.segmentize
(GlyphSequence gs, IndicScriptProcessor.Segment[] sa) Construct array of glyph sequences from original glyph sequence and segment array.IndicScriptProcessor.substitute
(GlyphSequence gs, String script, String language, GlyphTable.UseSpec[] usa, ScriptContextTester sct) Perform substitution processing using a specific set of ordered glyph table use specifications.KhmerScriptProcessor.substitute
(GlyphSequence glyphSequence, String script, String language, GlyphTable.UseSpec[] useSpecs, ScriptContextTester scriptContextTester) final GlyphSequence
ScriptProcessor.substitute
(GlyphSubstitutionTable gsub, GlyphSequence gs, String script, String language, Map<GlyphTable.LookupSpec, List<GlyphTable.LookupTable>> lookups) Perform substitution processing using a specific set of lookup tables.ScriptProcessor.substitute
(GlyphSequence gs, String script, String language, GlyphTable.UseSpec[] usa, ScriptContextTester sct) Perform substitution processing using a specific set of ordered glyph table use specifications.Modifier and TypeMethodDescriptionprotected int
DevanagariScriptProcessor.findPreBaseMatra
(GlyphSequence gs) protected int
GujaratiScriptProcessor.findPreBaseMatra
(GlyphSequence gs) protected int
GurmukhiScriptProcessor.findPreBaseMatra
(GlyphSequence gs) protected int
IndicScriptProcessor.findPreBaseMatra
(GlyphSequence gs) Find pre-base matra in sequence.protected int
TamilScriptProcessor.findPreBaseMatra
(GlyphSequence gs) protected int
DevanagariScriptProcessor.findPreBaseMatraTarget
(GlyphSequence gs, int source) protected int
GujaratiScriptProcessor.findPreBaseMatraTarget
(GlyphSequence gs, int source) protected int
GurmukhiScriptProcessor.findPreBaseMatraTarget
(GlyphSequence gs, int source) protected int
IndicScriptProcessor.findPreBaseMatraTarget
(GlyphSequence gs, int source) Find pre-base matra target in sequence.protected int
TamilScriptProcessor.findPreBaseMatraTarget
(GlyphSequence gs, int source) protected int
DevanagariScriptProcessor.findReph
(GlyphSequence gs) protected int
GujaratiScriptProcessor.findReph
(GlyphSequence gs) protected int
GurmukhiScriptProcessor.findReph
(GlyphSequence gs) protected int
IndicScriptProcessor.findReph
(GlyphSequence gs) Find reph in sequence.protected int
TamilScriptProcessor.findReph
(GlyphSequence gs) protected int
DevanagariScriptProcessor.findRephTarget
(GlyphSequence gs, int source) protected int
GujaratiScriptProcessor.findRephTarget
(GlyphSequence gs, int source) protected int
GurmukhiScriptProcessor.findRephTarget
(GlyphSequence gs, int source) protected int
IndicScriptProcessor.findRephTarget
(GlyphSequence gs, int source) Find reph target in sequence.protected int
TamilScriptProcessor.findRephTarget
(GlyphSequence gs, int source) boolean
IndicScriptProcessor.position
(GlyphSequence gs, String script, String language, int fontSize, GlyphTable.UseSpec[] usa, int[] widths, int[][] adjustments, ScriptContextTester sct) Perform positioning processing using a specific set of ordered glyph table use specifications.boolean
KhmerScriptProcessor.position
(GlyphSequence glyphSequence, String script, String language, int fontSize, GlyphTable.UseSpec[] useSpecs, int[] widths, int[][] adjustments, ScriptContextTester scriptContextTester) final boolean
ScriptProcessor.position
(GlyphPositioningTable gpos, GlyphSequence gs, String script, String language, int fontSize, Map<GlyphTable.LookupSpec, List<GlyphTable.LookupTable>> lookups, int[] widths, int[][] adjustments) Perform positioning processing using a specific set of lookup tables.boolean
ScriptProcessor.position
(GlyphSequence gs, String script, String language, int fontSize, GlyphTable.UseSpec[] usa, int[] widths, int[][] adjustments, ScriptContextTester sct) Perform positioning processing using a specific set of ordered glyph table use specifications.ArabicScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence gs, int[] widths, int[][] gpa, String script, String language) Reorder combining marks in glyph sequence so that they precede (within the sequence) the base character to which they are applied.DefaultScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence gs, int[] unscaledWidths, int[][] gpa, String script, String language) KhmerScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence glyphSequence, int[] unscaledWidths, int[][] glyphPositionAdjustments, String script, String language) ScriptProcessor.reorderCombiningMarks
(GlyphDefinitionTable gdef, GlyphSequence gs, int[] unscaledWidths, int[][] gpa, String script, String language) Reorder combining marks in glyph sequence so that they precede (within the sequence) the base character to which they are applied.protected GlyphSequence[]
IndicScriptProcessor.DefaultSyllabizer.segmentize
(GlyphSequence gs, IndicScriptProcessor.Segment[] sa) Construct array of glyph sequences from original glyph sequence and segment array.IndicScriptProcessor.substitute
(GlyphSequence gs, String script, String language, GlyphTable.UseSpec[] usa, ScriptContextTester sct) Perform substitution processing using a specific set of ordered glyph table use specifications.KhmerScriptProcessor.substitute
(GlyphSequence glyphSequence, String script, String language, GlyphTable.UseSpec[] useSpecs, ScriptContextTester scriptContextTester) final GlyphSequence
ScriptProcessor.substitute
(GlyphSubstitutionTable gsub, GlyphSequence gs, String script, String language, Map<GlyphTable.LookupSpec, List<GlyphTable.LookupTable>> lookups) Perform substitution processing using a specific set of lookup tables.ScriptProcessor.substitute
(GlyphSequence gs, String script, String language, GlyphTable.UseSpec[] usa, ScriptContextTester sct) Perform substitution processing using a specific set of ordered glyph table use specifications. -
Uses of GlyphSequence in org.apache.fop.complexscripts.util
Modifier and TypeMethodDescriptionstatic GlyphSequence
GlyphSequence.join
(GlyphSequence gs, GlyphSequence[] sa) Join (concatenate) glyph sequences.static GlyphSequence
GlyphSequence.reorder
(GlyphSequence gs, int source, int count, int target) Reorder sequence such that [SOURCE,SOURCE+COUNT) is moved just prior to TARGET.Modifier and TypeMethodDescriptionstatic GlyphSequence
GlyphSequence.join
(GlyphSequence gs, GlyphSequence[] sa) Join (concatenate) glyph sequences.static GlyphSequence
GlyphSequence.reorder
(GlyphSequence gs, int source, int count, int target) Reorder sequence such that [SOURCE,SOURCE+COUNT) is moved just prior to TARGET.void
GlyphSequence.setUnprocessedGS
(GlyphSequence glyphSequence) boolean
GlyphContextTester.test
(String script, String language, String feature, GlyphSequence gs, int index, int flags) Perform a test on a glyph sequence in a specific (originating) character context.ModifierConstructorDescriptionInstantiate a glyph sequence using an existing glyph sequence, where the new glyph sequence shares the character array of the existing sequence (but not the buffer object), and creates new copies of glyphs buffer and association list.GlyphSequence
(GlyphSequence gs, int[] bga, int[] iga, int[] lga, CharAssociation[] bal, CharAssociation[] ial, CharAssociation[] lal) Instantiate a glyph sequence using an existing glyph sequence, where the new glyph sequence shares the character array of the existing sequence (but not the buffer object), but uses the specified backtrack, input, and lookahead glyph arrays to populate the glyphs, and uses the specified of glyphs buffer and association list. -
Uses of GlyphSequence in org.apache.fop.fonts
Modifier and TypeMethodDescriptionMultiByteFont.charSequenceToGlyphSequence
(CharSequence charSequence, List associations) Modifier and TypeMethodDescriptionprotected int[]
MultiByteFont.getUnscaledWidths
(GlyphSequence gs)