return Internal::MultilanguageSupport::Get();
}
-void MultilanguageSupport::SetScripts( LogicalModel& model )
+void MultilanguageSupport::SetScripts( const Vector<Character>& text,
+ const Vector<LineBreakInfo>& lineBreakInfo,
+ Vector<ScriptRun>& scripts )
{
- GetImplementation( *this ).SetScripts( model );
+ GetImplementation( *this ).SetScripts( text,
+ lineBreakInfo,
+ scripts );
}
-void MultilanguageSupport::ValidateFonts( LogicalModel& model )
+void MultilanguageSupport::ReplaceScripts( LogicalModel& model,
+ CharacterIndex characterIndex,
+ Length numberOfCharactersToRemove,
+ Length numberOfCharactersToInsert )
{
- GetImplementation( *this ).ValidateFonts( model );
+ GetImplementation( *this ).ReplaceScripts( model,
+ characterIndex,
+ numberOfCharactersToRemove,
+ numberOfCharactersToInsert );
+}
+
+void MultilanguageSupport::ValidateFonts( const Vector<Character>& text,
+ const Vector<ScriptRun>& scripts,
+ Vector<FontRun>& fonts )
+{
+ GetImplementation( *this ).ValidateFonts( text,
+ scripts,
+ fonts );
+}
+
+void MultilanguageSupport::ValidateFonts( LogicalModel& model,
+ CharacterIndex characterIndex,
+ Length numberOfCharactersToRemove,
+ Length numberOfCharactersToInsert )
+{
+ GetImplementation( *this ).ValidateFonts( model,
+ characterIndex,
+ numberOfCharactersToRemove,
+ numberOfCharactersToInsert );
}
} // namespace Text