text-freetype2: Updated defaults
Adds several more settings to the defaults for the text objects.
This commit is contained in:
parent
31e5d2e5e3
commit
7fc539c3c4
@ -531,9 +531,14 @@ static void *ft2_source_create(obs_data_t *settings, obs_source_t *source,
|
||||
|
||||
obs_data_set_default_string(font_obj, "face", DEFAULT_FACE);
|
||||
obs_data_set_default_int(font_obj, "size", font_size);
|
||||
obs_data_set_default_int(font_obj, "flags", 0);
|
||||
obs_data_set_default_string(font_obj, "style", "");
|
||||
obs_data_set_default_obj(settings, "font", font_obj);
|
||||
|
||||
obs_data_set_default_bool(settings, "antialiasing", true);
|
||||
obs_data_set_default_bool(settings, "word_wrap", false);
|
||||
obs_data_set_default_bool(settings, "outline", false);
|
||||
obs_data_set_default_bool(settings, "drop_shadow", false);
|
||||
|
||||
obs_data_set_default_int(settings, "log_lines", 6);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user