Add config items for bold, italic, and bold italic fonts

This commit is contained in:
Sasha Koshka 2022-11-29 01:38:42 -05:00
parent f51f9ae5c5
commit e4c7dcb2e1

View File

@ -51,6 +51,9 @@ func (public *Config) load () {
public.private = config.Config { public.private = config.Config {
LegalParameters: map[string] config.Type { LegalParameters: map[string] config.Type {
"fontNormal": config.TypeString, "fontNormal": config.TypeString,
"fontBold": config.TypeString,
"fontItalic": config.TypeString,
"fontBoldItalic": config.TypeString,
"fontSize": config.TypeInteger, "fontSize": config.TypeInteger,
"padding": config.TypeInteger, "padding": config.TypeInteger,
"center": config.TypeBoolean, "center": config.TypeBoolean,
@ -66,6 +69,9 @@ func (public *Config) load () {
Parameters: map[string] any { Parameters: map[string] any {
"fontNormal": "", "fontNormal": "",
"fontBold": "",
"fontItalic": "",
"fontBoldItalic": "",
"fontSize": 11, "fontSize": 11,
"padding": 2, "padding": 2,
"center": false, "center": false,