From 28505b09e63a6ad18fb97190df7e5bdced9bfee8 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 24 Jul 2019 06:06:41 +0200 Subject: [PATCH] update lv_conf_checker.h --- src/lv_conf_checker.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/lv_conf_checker.h b/src/lv_conf_checker.h index b628a3480..f78fbfaa0 100644 --- a/src/lv_conf_checker.h +++ b/src/lv_conf_checker.h @@ -412,6 +412,21 @@ #define LV_TXT_BREAK_CHARS " ,.;:-_" #endif +/* If a character is at least this long, will break wherever "prettiest" */ +#ifndef LV_TXT_LINE_BREAK_LONG_LEN +#define LV_TXT_LINE_BREAK_LONG_LEN 12 +#endif + +/* Minimum number of characters of a word to put on a line before a break */ +#ifndef LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN +#define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 3 +#endif + +/* Minimum number of characters of a word to put on a line after a break */ +#ifndef LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN +#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 3 +#endif + /*Change the built in (v)snprintf functions*/ #ifndef LV_SPRINTF_CUSTOM #define LV_SPRINTF_CUSTOM 0