Skip to content

Commit a69f4b5

Browse files
committed
lv_conf.h: optional LV_USE_TINY_TTF
Allow setting LV_USE_TINY_TTF from outside, so it could be disabled per platform
1 parent e38f7d4 commit a69f4b5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lv_conf.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,10 +645,12 @@
645645
#endif
646646

647647
/* Built-in TTF decoder */
648-
#define LV_USE_TINY_TTF 1
649-
#if LV_USE_TINY_TTF
650-
/* Enable loading TTF data from files */
651-
#define LV_TINY_TTF_FILE_SUPPORT 1
648+
#ifndef LV_USE_TINY_TTF
649+
#define LV_USE_TINY_TTF 1
650+
#if LV_USE_TINY_TTF
651+
/* Enable loading TTF data from files */
652+
#define LV_TINY_TTF_FILE_SUPPORT 1
653+
#endif
652654
#endif
653655

654656
/*Rlottie library*/

0 commit comments

Comments
 (0)