Merge "Add support for FontClient PreCache in candidate process" into devel/master
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / text-abstraction / defined-characters.h
1 #ifndef DALI_TOOLKIT_TEXT_ABSTRACTION_DEFINED_CHARACTERS_H
2 #define DALI_TOOLKIT_TEXT_ABSTRACTION_DEFINED_CHARACTERS_H
3
4 /*
5  * Copyright (c) 2021 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 namespace Dali
22 {
23 namespace TextAbstraction
24 {
25 constexpr unsigned int CHAR_COMBINING_ENCLOSING_KEYCAP = 0x20E3; ///< Combining Enclosing Keycap. https://unicode-table.com/en/1F1E6/
26
27 //Emoji Components (Hair style)
28 constexpr unsigned int CHAR_EMOJI_COMPONENT_BALD       = 0x1F9B2; ///< Emoji CompOnent Bald. https://unicode-table.com/en/1F9B2/
29 constexpr unsigned int CHAR_EMOJI_COMPONENT_RED_HAIR   = 0x1F9B0; ///< Emoji CompOnent Red Hair. https://unicode-table.com/en/1F9B0/
30 constexpr unsigned int CHAR_EMOJI_COMPONENT_CURLY_HAIR = 0x1F9B1; ///< Emoji CompOnent Curly Hair. https://unicode-table.com/en/1F9B1/
31 constexpr unsigned int CHAR_EMOJI_COMPONENT_WHITE_HAIR = 0x1F9B3; ///< Emoji CompOnent White Hair. https://unicode-table.com/en/1F9B3/
32
33 //Regional Indicators
34 constexpr unsigned int CHAR_REGIONAL_INDICATOR_SYMBOL_LETTER_A = 0x1F1E6; ///< Regional Indicator Symbol Letter A. https://unicode-table.com/en/1F1E6/
35 constexpr unsigned int CHAR_REGIONAL_INDICATOR_SYMBOL_LETTER_Z = 0x1F1FF; ///< Regional Indicator Symbol Letter Z. https://unicode-table.com/en/1F1FF/
36
37 //Variation Selectors
38 constexpr unsigned int CHAR_VARIATION_SELECTOR_15 = 0xFE0E; ///< Variation Selector-15. https://unicode-table.com/en/FE0E/
39 constexpr unsigned int CHAR_VARIATION_SELECTOR_16 = 0xFE0F; ///< Variation Selector-16. https://unicode-table.com/en/FE0F/
40
41 //Emoji Tags
42 constexpr unsigned int CHAR_CANCEL_TAG = 0xE007F; ///< Stateful tag terminator: Cancel Tag. https://unicode-table.com/en/E007F/
43 constexpr unsigned int CHAR_TAG_SPACE  = 0xE0020; ///< Tag components: Tag Space. The first tag in tag_spec https://unicode-table.com/en/E0020/
44 constexpr unsigned int CHAR_TAG_TILDE  = 0xE007E; ///< Tag components: Tag Tilde. The last tag in tag_spec https://unicode-table.com/en/E007E/
45
46 //Emoji Modifiers (Skin tone)
47 constexpr unsigned int CHAR_EMOJI_MODIFIER_FITZPATRICK_TYPE_1_2 = 0x1F3FB; ///< Emoji Modifier Fitzpatrick Type-1-2 (Light Skin Tone). https://unicode-table.com/en/1F3FB/
48 constexpr unsigned int CHAR_EMOJI_MODIFIER_FITZPATRICK_TYPE_3   = 0x1F3FC; ///< Emoji Modifier Fitzpatrick Type-3 (Medium-Light Skin Tone). https://unicode-table.com/en/1F3FC/
49 constexpr unsigned int CHAR_EMOJI_MODIFIER_FITZPATRICK_TYPE_4   = 0x1F3FD; ///< Emoji Modifier Fitzpatrick Type-4 (Medium Skin Tone). https://unicode-table.com/en/1F3FD/
50 constexpr unsigned int CHAR_EMOJI_MODIFIER_FITZPATRICK_TYPE_5   = 0x1F3FE; ///< Emoji Modifier Fitzpatrick Type-5 (Medium-Dark Skin Tone). https://unicode-table.com/en/1F3FE/
51 constexpr unsigned int CHAR_EMOJI_MODIFIER_FITZPATRICK_TYPE_6   = 0x1F3FF; ///< Emoji Modifier Fitzpatrick Type-6 (Dark Skin Tone). https://unicode-table.com/en/1F3FF/
52
53 //Miscellaneous Symbols and Arrows. Range: 2B00—2BFF
54 constexpr unsigned int CHAR_NORTH_EAST_WHITE_ARROW     = 0x2B00; ///< North East White Arrow. https://unicode-table.com/en/2B00/
55 constexpr unsigned int CHAR_HELLSCHREIBER_PAUSE_SYMBOL = 0x2BFF; ///< Hellschreiber Pause Symbol . https://unicode-table.com/en/2BFF/
56
57 //Dingbats. Range: 2700—27BF
58 constexpr unsigned int CHAR_BLACK_SAFETY_SCISSORS   = 0x2700; ///< Black Safety Scissors. https://unicode-table.com/en/2700/
59 constexpr unsigned int CHAR_DOUBLE_CURLY_LOOP_EMOJI = 0x27BF; ///< Double Curly Loop Emoji . https://unicode-table.com/en/27BF/
60
61 //Basic Latin. Range: 0000—007F
62 constexpr unsigned int CHAR_NUMBER_SIGN   = 0x0023; ///< # Number Sign . https://unicode-table.com/en/0023/
63 constexpr unsigned int CHAR_ASTERISK      = 0x002A; ///< * Asterisk. https://unicode-table.com/en/002A/
64 constexpr unsigned int CHAR_ASCII_DIGIT_0 = 0x0030; ///< 0 Digit Zero. https://unicode-table.com/en/0030/
65 constexpr unsigned int CHAR_ASCII_DIGIT_9 = 0x0039; ///< 9 Digit Nine. https://unicode-table.com/en/0039/
66
67 // General unicodes
68 constexpr unsigned int CHAR_ZWS = 0x200B; ///< Zero width space.
69
70 } // namespace TextAbstraction
71
72 } // namespace Dali
73
74 #endif // DALI_TOOLKIT_TEXT_ABSTRACTION_DEFINED_CHARACTERS_H