Add Ukrainian symbols (#2286)

* Update Screen.cpp

* Add files via upload

* Update Screen.cpp

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Krezalis
2023-02-20 10:03:13 -06:00
committed by GitHub
co-authored by Ben Meadors
parent 95bbcd2cb7
commit fd1c54fd15
3 changed files with 443 additions and 0 deletions
+8
View File
@@ -50,6 +50,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "fonts/OLEDDisplayFontsRU.h"
#endif
#ifdef OLED_UA
#include "fonts/OLEDDisplayFontsUA.h"
#endif
using namespace meshtastic; /** @todo remove */
namespace graphics
@@ -106,8 +110,12 @@ static uint16_t displayWidth, displayHeight;
#ifdef OLED_RU
#define FONT_SMALL ArialMT_Plain_10_RU
#else
#ifdef OLED_UA
#define FONT_SMALL ArialMT_Plain_10_UA
#else
#define FONT_SMALL ArialMT_Plain_10 // Height: 13
#endif
#endif
#define FONT_MEDIUM ArialMT_Plain_16 // Height: 19
#define FONT_LARGE ArialMT_Plain_24 // Height: 28
#endif