public GlyphSequence substitute ( GlyphSequence gs, String script, String language ) {
GlyphSequence ogs;
Map/*<LookupSpec,List<LookupTable>>*/ lookups = matchLookups ( script, language, "*" );
if ( ( lookups != null ) && ( lookups.size() > 0 ) ) {
ScriptProcessor sp = ScriptProcessor.getInstance ( script );
ogs = sp.substitute ( this, gs, script, language, lookups );
} else {
ogs = gs;
}
return ogs;
}