+ // Get the current character.
+ const Character character = *( textBuffer + index );
+
+ // Get the font for the current character.
+ FontId fontId = *( fontIdsBuffer + index - startIndex );
+
+ // Whether the font being validated for the current character is a default one not set by the user.
+ const bool isDefault = *( isDefaultFontBuffer + index - startIndex );
+
+ // Get the script for the current character.
+ const Script script = GetScript( index,
+ scriptRunIt,
+ scriptRunEndIt );
+
+ // Get the current point size.
+ if( currentFontId != fontId )
+ {
+ currentPointSize = fontClient.GetPointSize( fontId );
+ currentFontId = fontId;
+ }
+
+#ifdef DEBUG_ENABLED
+ {
+ Dali::TextAbstraction::FontDescription description;
+ fontClient.GetDescription( fontId, description );
+
+ DALI_LOG_INFO( gLogFilter,
+ Debug::Verbose,
+ " Initial font set\n Character : %x, Script : %s, Font : %s \n",
+ character,
+ Dali::TextAbstraction::ScriptName[script],
+ description.path.c_str() );
+ }
+#endif