QtBase  v6.3.1
hb-unicode-emoji-table.hh
Go to the documentation of this file.
1 /* == Start of generated table == */
2 /*
3  * The following tables are generated by running:
4  *
5  * ./gen-emoji-table.py emoji-data.txt
6  *
7  * on file with this header:
8  *
9  * # emoji-data-14.0.0.txt
10  * # Date: 2021-08-26, 17:22:22 GMT
11  * # © 2021 Unicode®, Inc.
12  * # Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
13  * # For terms of use, see http://www.unicode.org/terms_of_use.html
14  * #
15  * # Emoji Data for UTS #51
16  * # Used with Emoji Version 14.0 and subsequent minor revisions (if any)
17  * #
18  * # For documentation and usage, see http://www.unicode.org/reports/tr51
19  */
20 
21 #ifndef HB_UNICODE_EMOJI_TABLE_HH
22 #define HB_UNICODE_EMOJI_TABLE_HH
23 
24 #include "hb-unicode.hh"
25 
26 static const uint8_t
27 _hb_emoji_u8[544] =
28 {
29  16, 17, 17, 17, 50, 20, 21, 17, 17, 17, 17, 17, 17, 17, 17, 17,
30  17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
31  17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
32  17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17,118,152,
33  0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
34  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
35  2, 3, 0, 0, 4, 0, 5, 0, 0, 0, 0, 0, 6, 0, 7, 8,
36  0, 0, 0, 9, 0, 0, 10, 11, 12, 13, 14, 13, 15, 16, 17, 0,
37  0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0,
38  21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0,
39  13, 13, 13, 13, 23, 24, 25, 26, 27, 28, 13, 13, 13, 13, 13, 29,
40  13, 13, 13, 13, 30, 31, 13, 13, 13, 32, 13, 13, 0, 33, 0, 34,
41  35, 36, 37, 13, 38, 39, 13, 13, 13, 13, 13, 13, 0, 0, 0, 0,
42  13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 30,
43  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 66, 0, 0,
44  0, 0, 0, 0, 0, 0, 0, 16, 0, 2, 0, 0, 0, 0, 0, 0,
45  0, 0, 0, 0, 4, 0, 0, 2, 0, 0,240, 3, 0, 6, 0, 0,
46  0, 0, 0, 12, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
47  0,128, 0, 0, 0,254, 15, 7, 4, 0, 0, 0, 0, 0, 0, 0,
48  0, 0, 0, 0, 0, 12, 64, 0, 1, 0, 0, 0, 0, 0, 0,120,
49  191,255,247,255,255,255,255,255,255,255,255,255,255,255,255,255,
50  63, 0,255,255,255,255,255,255, 63,255, 87, 32, 2, 1, 24, 0,
51  144, 80,184, 0,248, 0, 0, 0, 0, 0,224, 0, 2, 0, 1,128,
52  0, 0, 0, 0, 0, 0, 48, 0,224, 0, 0, 24, 0, 0, 0, 0,
53  0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 32,
54  0, 0,128, 2, 0, 0, 0, 0, 0,224, 0, 0, 0,128, 0, 0,
55  0, 0, 0, 0, 0,240, 3,192, 0, 64,254, 7, 0,224,255,255,
56  255,255,255,255, 63, 0, 0, 0,254,255, 0, 4, 0,128,252,247,
57  0,254,255,255,255,255,255,255,255,255,255,255,255,255,255, 7,
58  255,255,255,255,255,255,255, 63,192,255,255,255,255,255,255,255,
59  255,255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,240,255,
60  0, 0,224,255,255,255,255,255, 0,240, 0, 0, 0, 0, 0, 0,
61  0,255, 0,252, 0, 0, 0, 0, 0,255, 0, 0, 0,192,255,255,
62  0,240,255,255,255,255,255,247,191,255,255,255,255,255,255,255,
63 };
64 
65 static inline unsigned
66 _hb_emoji_b4 (const uint8_t* a, unsigned i)
67 {
68  return (a[i>>1]>>((i&1u)<<2))&15u;
69 }
70 static inline unsigned
71 _hb_emoji_b1 (const uint8_t* a, unsigned i)
72 {
73  return (a[i>>3]>>((i&7u)<<0))&1u;
74 }
75 static inline uint_fast8_t
76 _hb_emoji_is_Extended_Pictographic (unsigned u)
77 {
78  return u<131070u?_hb_emoji_b1(224+_hb_emoji_u8,((_hb_emoji_u8[64+(((_hb_emoji_b4(_hb_emoji_u8,u>>6>>4))<<4)+((u>>6)&15u))])<<6)+((u)&63u)):0;
79 }
80 
81 
82 #endif /* HB_UNICODE_EMOJI_TABLE_HH */
83 
84 /* == End of generated table == */
small capitals from c petite p scientific f u
Definition: afcover.h:88
small capitals from c petite p scientific i
[1]
Definition: afcover.h:80
GLboolean GLboolean GLboolean GLboolean a
[7]