From f5d39a1487db6259cc7a99e98d2fe70e29c61c46 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 8 Mar 2021 18:59:45 +0200 Subject: Improved custom link icons; link list spacing Link lists and bullet lists are spaced the same way. --- src/ui/text.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/ui/text.h') diff --git a/src/ui/text.h b/src/ui/text.h index d57c2c62..8a023546 100644 --- a/src/ui/text.h +++ b/src/ui/text.h @@ -39,7 +39,7 @@ enum iFontId { defaultLarge_FontId, defaultLargeBold_FontId, defaultMonospace_FontId, - defaultContentSized_FontId, + defaultContentSized_FontId, /* content fonts */ regular_FontId, monospace_FontId, @@ -138,14 +138,16 @@ iLocalDef iBool isDefaultIgnorable_Char(iChar c) { } iLocalDef iBool isEmoji_Char(iChar c) { return (c >= 0x1f300 && c < 0x1f700) || (c >= 0x1f7e0 && c <= 0x1f7eb) || - (c >= 0x1f900 && c <= 0x1f9ff); + (c >= 0x1f900 && c <= 0x1f9ff) || (c >= 0x1fa70 && c <= 0x1faff); } iLocalDef iBool isDingbats_Char(iChar c) { return c >= 0x2702 && c <= 0x27b0; } iLocalDef iBool isSymbol_Char(iChar c) { - return (c == 0x2218 || c == 0x2219) || (c >= 0x1f680 && c <= 0x1f6c0) || - (c >= 0x2300 && c <= 0x26ff); + return (c == 0x21a9) || + (c == 0x2218 || c == 0x2219) || + (c >= 0x2300 && c <= 0x26ff) || + (c >= 0x1f680 && c <= 0x1f6c0); } #define emojiVariationSelector_Char ((iChar) 0xfe0f) -- cgit v1.2.3