public class GurmukhiScriptProcessor extends IndicScriptProcessor
The GurmukhiScriptProcessor
class implements a script processor for
performing glyph substitution and positioning operations on content associated with the Gurmukhi script.
This work was originally authored by Glenn Adams (gadams@apache.org).
IndicScriptProcessor.DefaultSyllabizer, IndicScriptProcessor.Segment, IndicScriptProcessor.Syllabizer
Modifier and Type | Method and Description |
---|---|
protected int |
findPreBaseMatra(GlyphSequence gs)
Find pre-base matra in sequence.
|
protected int |
findPreBaseMatraTarget(GlyphSequence gs,
int source)
Find pre-base matra target in sequence.
|
protected int |
findReph(GlyphSequence gs)
Find reph in sequence.
|
protected int |
findRephTarget(GlyphSequence gs,
int source)
Find reph target in sequence.
|
protected java.lang.Class<? extends org.apache.fop.complexscripts.scripts.GurmukhiScriptProcessor.GurmukhiSyllabizer> |
getSyllabizerClass()
Get script specific syllabizer class.
|
GlyphSequence |
reorderCombiningMarks(GlyphDefinitionTable gdef,
GlyphSequence gs,
int[][] gpa,
java.lang.String script,
java.lang.String language)
Reorder combining marks in glyph sequence so that they precede (within the sequence) the base
character to which they are applied.
|
getOptionalPositioningFeatures, getOptionalSubstitutionFeatures, getPositioningContextTester, getPositioningFeatures, getSubstitutionContextTester, getSubstitutionFeatures, makeProcessor, position, substitute
assembleLookups, getInstance, getScript, position, substitute
protected java.lang.Class<? extends org.apache.fop.complexscripts.scripts.GurmukhiScriptProcessor.GurmukhiSyllabizer> getSyllabizerClass()
IndicScriptProcessor
getSyllabizerClass
in class IndicScriptProcessor
protected int findPreBaseMatra(GlyphSequence gs)
IndicScriptProcessor
findPreBaseMatra
in class IndicScriptProcessor
gs
- input sequenceprotected int findPreBaseMatraTarget(GlyphSequence gs, int source)
IndicScriptProcessor
findPreBaseMatraTarget
in class IndicScriptProcessor
gs
- input sequencesource
- index of pre-base matraprotected int findReph(GlyphSequence gs)
IndicScriptProcessor
findReph
in class IndicScriptProcessor
gs
- input sequenceprotected int findRephTarget(GlyphSequence gs, int source)
IndicScriptProcessor
findRephTarget
in class IndicScriptProcessor
gs
- input sequencesource
- index of rephpublic GlyphSequence reorderCombiningMarks(GlyphDefinitionTable gdef, GlyphSequence gs, int[][] gpa, java.lang.String script, java.lang.String language)
ScriptProcessor
reorderCombiningMarks
in class DefaultScriptProcessor
gdef
- the glyph definition table that appliesgs
- an input glyph sequencegpa
- associated glyph position adjustments (also reordered)script
- a script identifierlanguage
- a language identifierCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.