luci-theme-openwrt-2020: fix font issue when mixing latin and non-latin symbols
authorSergey V. Lobanov <sergey@lobanov.in>
Sun, 5 Dec 2021 20:45:40 +0000 (23:45 +0300)
committerJo-Philipp Wich <jo@mein.io>
Thu, 9 Dec 2021 16:03:25 +0000 (17:03 +0100)
commit13949cb887e888778bd5ef75e74d94a1d0fcec11
treec24da8cd1462da7ef9e95fce6a8ff2f98fb2cd55
parent008bd893105d2bc8bfb5e5dce1ef00fa09008533
luci-theme-openwrt-2020: fix font issue when mixing latin and non-latin symbols

The GalanoGrotesque font used by the openwrt2020 theme does not support non-
latin symbols.

If latin and non-latin symbols are used together in one line it looks strange
because for latin symbols GalanoGrotesque is used but for non-latin symbols a
fallback font is used (sans-serif).

This patch changes default font to Helvetica for the "bg", "ru", "uk", "el"
and "he" locales.

Original patch was written by Jo-Philipp Wich

Fixes: #5580
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
[reword commit message, drop "de" from exception list]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css