feat(color): Bigger menu toolbar icons, outlines around menu (#2435)

* chore: add EdgeTX source symbols to 24pt fonts to allow for larger symbols in menu filter toolbars

* chore: Bump `libopenui`
This commit is contained in:
Malte Langermann
2022-10-01 21:50:04 +10:00
committed by GitHub
parent 6de2c35e80
commit f6a00d1845
5 changed files with 1953 additions and 1146 deletions
+13 -1
View File
@@ -39,6 +39,18 @@ function make_font() {
--format lvgl -o lv_font_${name}_${size}.c --force-fast-kern-format ${arg}
}
function make_font_w_extra_sym() {
local name=$1
local ttf=$2
local size=$3
local chars=$4
local arg=$5
lv_font_conv --no-prefilter --bpp 4 --size ${size} \
--font ${TTF_DIR}${ttf} -r ${ASCII},${DEGREE}${chars} \
--font EdgeTX/extra.ttf -r ${EXTRA_SYM} \
--format lvgl -o lv_font_${name}_${size}.c --force-fast-kern-format ${arg}
}
function make_font_no_sym() {
local name=$1
local ttf=$2
@@ -76,7 +88,7 @@ function make_font_set() {
make_font "${name}" "${ttf_normal}" 17 ${chars} --no-compress
make_font "${name}_bold" "${ttf_bold}" 16 ${chars}
make_font "${name}_bold" "${ttf_bold}" 17 ${chars}
make_font_no_sym "${name}" "${ttf_normal}" 24 ${chars}
make_font_w_extra_sym "${name}" "${ttf_normal}" 24 ${chars}
make_font_no_sym "${name}_bold" "${ttf_bold}" 32 ${chars}
make_font_no_sym "${name}_bold" "${ttf_bold}" 64
}