TextModel - Create the text language info for a given range of characters inside...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / multi-language-support.cpp
index 87e594d..e612054 100644 (file)
@@ -49,9 +49,13 @@ MultilanguageSupport MultilanguageSupport::Get()
 }
 
 void MultilanguageSupport::SetScripts( const Vector<Character>& text,
+                                       CharacterIndex startIndex,
+                                       Length numberOfCharacters,
                                        Vector<ScriptRun>& scripts )
 {
   GetImplementation( *this ).SetScripts( text,
+                                         startIndex,
+                                         numberOfCharacters,
                                          scripts );
 }
 
@@ -59,12 +63,16 @@ void MultilanguageSupport::ValidateFonts( const Vector<Character>& text,
                                           const Vector<ScriptRun>& scripts,
                                           const Vector<FontDescriptionRun>& fontDescriptions,
                                           FontId defaultFontId,
+                                          CharacterIndex startIndex,
+                                          Length numberOfCharacters,
                                           Vector<FontRun>& fonts )
 {
   GetImplementation( *this ).ValidateFonts( text,
                                             scripts,
                                             fontDescriptions,
                                             defaultFontId,
+                                            startIndex,
+                                            numberOfCharacters,
                                             fonts );
 }