summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------lib/the_Foundation0
-rw-r--r--src/ui/text.h23
2 files changed, 0 insertions, 23 deletions
diff --git a/lib/the_Foundation b/lib/the_Foundation
Subproject 361f88c05a2879e6e37c6dc5f420c81011bbd8f Subproject 60296459232a89ab099c52d847df99e989049f3
diff --git a/src/ui/text.h b/src/ui/text.h
index 58941974..1ae92890 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -107,29 +107,6 @@ enum iFontId {
107iLocalDef iBool isJapanese_FontId(enum iFontId id) { 107iLocalDef iBool isJapanese_FontId(enum iFontId id) {
108 return id >= japanese_FontId && id < japanese_FontId + max_FontSize; 108 return id >= japanese_FontId && id < japanese_FontId + max_FontSize;
109} 109}
110iLocalDef iBool isVariationSelector_Char(iChar c) {
111 return (c >= 0xfe00 && c <= 0xfe0f) || (c >= 0xe0100 && c <= 0xe0121);
112}
113iLocalDef iBool isFitzpatrickType_Char(iChar c) {
114 return c >= 0x1f3fb && c <= 0x1f3ff;
115}
116iLocalDef iBool isDefaultIgnorable_Char(iChar c) {
117 return c == 0x115f || (c >= 0x200b && c <= 0x200e) || c == 0x2060 || c == 0x2061 ||
118 c == 0xfeff;
119}
120iLocalDef iBool isEmoji_Char(iChar c) {
121 return (c >= 0x1f300 && c < 0x1f700) || (c >= 0x1f7e0 && c <= 0x1f7eb) ||
122 (c >= 0x1f900 && c <= 0x1f9ff) || (c >= 0x1fa70 && c <= 0x1faff);
123}
124iLocalDef iBool isDingbats_Char(iChar c) {
125 return c >= 0x2702 && c <= 0x27b0;
126}
127iLocalDef iBool isPictograph_Char(iChar c) {
128 return (c == 0x21a9) ||
129 (c == 0x2218 || c == 0x2219) ||
130 (c >= 0x2300 && c <= 0x27bf) ||
131 (c >= 0x1f680 && c <= 0x1f6c0);
132}
133 110
134#define emojiVariationSelector_Char ((iChar) 0xfe0f) 111#define emojiVariationSelector_Char ((iChar) 0xfe0f)
135 112