Only a limited subset of the Font/Text functionality is exposed in the Scaleform Studio Editor. You will find that more functionality is available with our Lua and C++ APIs. For more details on text related APIs refer to
Here is the basic example of creating text in Lua:
-- Create a TextFormat to customize the font displayed in the TextField below
local textFormat = scaleform.TextFormat.create(); scaleform.TextFormat.set_color(textFormat,{red=255, green=255, blue=255, alpha=255}); scaleform.TextFormat.set_font_name(textFormat,"OpenSans-Regular.ttf"); scaleform.TextFormat.set_font_size(textFormat, 20);
-- Create TextField
local textField, textFieldComp = scaleform.Actor.create(mainScene, scaleform.TextComponent); scaleform.Actor.set_local_position(textField, {x=10,y= 10}); scaleform.TextComponent.set_text(textFieldComp,"Text Example "); scaleform.TextComponent.set_auto_size_x(textFieldComp,true); scaleform.TextComponent.set_multiline(textFieldComp,true); scaleform.TextComponent.set_text_format(textFieldComp,textFormat);
You can find additional examples in our Lua samples.