mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-08-28 23:00:51 +00:00
Cyrillic and Latin Extended font support (fixes #14)
Regenerated Montserrat 10/12/14 with Cyrillic and Latin Extended Unicode ranges so messages in Russian, Ukrainian, Bulgarian, and accented European languages render properly instead of rectangles.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "Theme.h"
|
||||
#include <Arduino.h>
|
||||
#include <time.h>
|
||||
#include "fonts/fonts.h"
|
||||
|
||||
void LvStatusBar::create(lv_obj_t* parent) {
|
||||
_bar = lv_obj_create(parent);
|
||||
@@ -16,7 +17,7 @@ void LvStatusBar::create(lv_obj_t* parent) {
|
||||
lv_obj_set_style_radius(_bar, 0, 0);
|
||||
lv_obj_clear_flag(_bar, LV_OBJ_FLAG_SCROLLABLE);
|
||||
|
||||
const lv_font_t* font = &lv_font_montserrat_12;
|
||||
const lv_font_t* font = &lv_font_ratdeck_12;
|
||||
|
||||
// Left: Time display (hidden until valid time is available)
|
||||
_lblTime = lv_label_create(_bar);
|
||||
|
||||
Reference in New Issue
Block a user