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, substituteassembleLookups, getInstance, getScript, position, substituteprotected java.lang.Class<? extends org.apache.fop.complexscripts.scripts.GurmukhiScriptProcessor.GurmukhiSyllabizer> getSyllabizerClass()
IndicScriptProcessorgetSyllabizerClass in class IndicScriptProcessorprotected int findPreBaseMatra(GlyphSequence gs)
IndicScriptProcessorfindPreBaseMatra in class IndicScriptProcessorgs - input sequenceprotected int findPreBaseMatraTarget(GlyphSequence gs, int source)
IndicScriptProcessorfindPreBaseMatraTarget in class IndicScriptProcessorgs - input sequencesource - index of pre-base matraprotected int findReph(GlyphSequence gs)
IndicScriptProcessorfindReph in class IndicScriptProcessorgs - input sequenceprotected int findRephTarget(GlyphSequence gs, int source)
IndicScriptProcessorfindRephTarget in class IndicScriptProcessorgs - input sequencesource - index of rephpublic GlyphSequence reorderCombiningMarks(GlyphDefinitionTable gdef, GlyphSequence gs, int[][] gpa, java.lang.String script, java.lang.String language)
ScriptProcessorreorderCombiningMarks in class DefaultScriptProcessorgdef - 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.