else
{
// The text-actor cache is empty. Create a new one.
- textActor = TextActor::New( text, style, false, true );
+ TextActorParameters parameters( style, TextActorParameters::FONT_DETECTION_OFF );
+ textActor = TextActor::New( text, parameters );
}
return textActor;
// If still there is no text-actor, create one.
if( !textActor )
{
- textActor = TextActor::New( Text(), characterLayout.mStyledText.mStyle, false, true );
+ TextActorParameters parameters( characterLayout.mStyledText.mStyle, TextActorParameters::FONT_DETECTION_OFF );
+ textActor = TextActor::New( NULL, parameters );
}
else
{