Add config items for bold, italic, and bold italic fonts
This commit is contained in:
parent
f51f9ae5c5
commit
e4c7dcb2e1
14
config.go
14
config.go
@ -51,6 +51,9 @@ func (public *Config) load () {
|
||||
public.private = config.Config {
|
||||
LegalParameters: map[string] config.Type {
|
||||
"fontNormal": config.TypeString,
|
||||
"fontBold": config.TypeString,
|
||||
"fontItalic": config.TypeString,
|
||||
"fontBoldItalic": config.TypeString,
|
||||
"fontSize": config.TypeInteger,
|
||||
"padding": config.TypeInteger,
|
||||
"center": config.TypeBoolean,
|
||||
@ -65,10 +68,13 @@ func (public *Config) load () {
|
||||
},
|
||||
|
||||
Parameters: map[string] any {
|
||||
"fontNormal": "",
|
||||
"fontSize": 11,
|
||||
"padding": 2,
|
||||
"center": false,
|
||||
"fontNormal": "",
|
||||
"fontBold": "",
|
||||
"fontItalic": "",
|
||||
"fontBoldItalic": "",
|
||||
"fontSize": 11,
|
||||
"padding": 2,
|
||||
"center": false,
|
||||
"colorBackground":
|
||||
color.RGBA { R: 0, G: 0, B: 0, A: 0 },
|
||||
"colorForeground":
|
||||
|
Loading…
Reference in New Issue
Block a user