14#define FLAG(x) (1
<< (x))
17
18
19
20
21
22
23
24
25
26
27
30
31
32
33
36
37
38
39
40
43
44
45
46
47
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
579
580
581
584
585
586
589
590
591
592
593
594
597
598
599
600
601
602
603
604
605
606
607
610
611
612
613
614
615
618
619
620
621
622
623
624
627
628
629
630
631
632
633
634
635
638
639
640
641
642
643
644
645
646
647
648
651
652
653
654
655
656
657
658
659
660
661
664
665
666
667
668
669
672
673
674
675
676
677
680
681
682
683
684
685
688
689
690
691
692
693
696
697
698
699
700
701
704
705
706
707
708
709
712
713
714
715
716
717
718
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
752
753
754
755
756
759
760
761
762
763
764
767
768
769
770
771
772
775
776
777
778
779
780
781
782
785
786
787
788
789
790
791
792
793
794
795
796
797bool QChar::isPrint(
char32_t ucs4)
noexcept
799 if (ucs4 > LastValidCodePoint)
801 const int test =
FLAG(Other_Control) |
803 FLAG(Other_Surrogate) |
804 FLAG(Other_PrivateUse) |
805 FLAG(Other_NotAssigned);
806 return !(
FLAG(qGetProp(ucs4)->category) & test);
810
811
812
813
814
815
818
819
820
821
822
823
824
825
826
827
830
831
832bool QT_FASTCALL QChar::isSpace_helper(
char32_t ucs4)
noexcept
834 if (ucs4 > MaxSeparatorCodepoint)
837 const int test =
FLAG(Separator_Space) |
838 FLAG(Separator_Line) |
839 FLAG(Separator_Paragraph);
840 return FLAG(qGetProp(ucs4)->category) & test;
844
845
846
847
848
849
850
853
854
855
856
857
858
859
860
861bool QChar::isMark(
char32_t ucs4)
noexcept
863 if (ucs4 > LastValidCodePoint)
865 const int test =
FLAG(Mark_NonSpacing) |
866 FLAG(Mark_SpacingCombining) |
867 FLAG(Mark_Enclosing);
868 return FLAG(qGetProp(ucs4)->category) & test;
872
873
874
875
876
879
880
881
882
883
884
885
886
887bool QChar::isPunct(
char32_t ucs4)
noexcept
889 if (ucs4 > LastValidCodePoint)
891 const int test =
FLAG(Punctuation_Connector) |
892 FLAG(Punctuation_Dash) |
893 FLAG(Punctuation_Open) |
894 FLAG(Punctuation_Close) |
895 FLAG(Punctuation_InitialQuote) |
896 FLAG(Punctuation_FinalQuote) |
897 FLAG(Punctuation_Other);
898 return FLAG(qGetProp(ucs4)->category) & test;
902
903
904
905
906
909
910
911
912
913
914
915
916
917bool QChar::isSymbol(
char32_t ucs4)
noexcept
919 if (ucs4 > LastValidCodePoint)
921 const int test =
FLAG(Symbol_Math) |
922 FLAG(Symbol_Currency) |
923 FLAG(Symbol_Modifier) |
925 return FLAG(qGetProp(ucs4)->category) & test;
929
930
931
932
933
936
937
938
939
940
941
942
943
944
947
948
949bool QT_FASTCALL QChar::isLetter_helper(
char32_t ucs4)
noexcept
951 if (ucs4 > LastValidCodePoint)
953 const int test =
FLAG(Letter_Uppercase) |
954 FLAG(Letter_Lowercase) |
955 FLAG(Letter_Titlecase) |
956 FLAG(Letter_Modifier) |
958 return FLAG(qGetProp(ucs4)->category) & test;
962
963
964
965
966
967
968
971
972
973
974
975
976
977
978
979
980
981
984
985
986bool QT_FASTCALL QChar::isNumber_helper(
char32_t ucs4)
noexcept
988 if (ucs4 > LastValidCodePoint)
990 const int test =
FLAG(Number_DecimalDigit) |
991 FLAG(Number_Letter) |
993 return FLAG(qGetProp(ucs4)->category) & test;
997
998
999
1000
1001
1004
1005
1006
1007
1008
1009
1010
1011
1012
1015
1016
1017bool QT_FASTCALL QChar::isLetterOrNumber_helper(
char32_t ucs4)
noexcept
1019 if (ucs4 > LastValidCodePoint)
1021 const int test =
FLAG(Letter_Uppercase) |
1022 FLAG(Letter_Lowercase) |
1023 FLAG(Letter_Titlecase) |
1024 FLAG(Letter_Modifier) |
1025 FLAG(Letter_Other) |
1026 FLAG(Number_DecimalDigit) |
1027 FLAG(Number_Letter) |
1029 return FLAG(qGetProp(ucs4)->category) & test;
1033
1034
1035
1036
1037
1038
1039
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1068
1069
1070
1071
1072
1075
1076
1077
1078
1079
1082
1083
1084
1085
1086
1087
1088
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1108
1109
1110
1111
1112
1113
1114
1115
1116
1119
1120
1121
1122
1123
1124
1125
1126
1127
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1143
1144
1145
1146
1147
1148
1149
1150
1151
1154
1155
1156
1157
1158
1159
1160
1163
1164
1165
1166
1167
1168
1169
1172
1173
1174
1175
1176
1177
1178
1181
1182
1183
1184
1185
1186
1187
1190
1191
1192
1193
1196
1197
1198
1199
1200
1201
1202int QChar::digitValue(
char32_t ucs4)
noexcept
1204 if (ucs4 > LastValidCodePoint)
1206 return qGetProp(ucs4)->digitValue;
1210
1211
1212
1213
1216
1217
1218
1219
1220
1221QChar::Category QChar::category(
char32_t ucs4)
noexcept
1223 if (ucs4 > LastValidCodePoint)
1224 return QChar::Other_NotAssigned;
1225 return (QChar::Category) qGetProp(ucs4)->category;
1229
1230
1231
1232
1235
1236
1237
1238
1239
1240QChar::Direction QChar::direction(
char32_t ucs4)
noexcept
1242 if (ucs4 > LastValidCodePoint)
1244 return (QChar::Direction) qGetProp(ucs4)->direction;
1248
1249
1250
1251
1252
1253
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265QChar::JoiningType QChar::joiningType(
char32_t ucs4)
noexcept
1267 if (ucs4 > LastValidCodePoint)
1268 return QChar::Joining_None;
1269 return QChar::JoiningType(qGetProp(ucs4)->joining);
1273
1274
1275
1276
1277
1278
1279
1280
1281
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296bool QChar::hasMirrored(
char32_t ucs4)
noexcept
1298 if (ucs4 > LastValidCodePoint)
1300 return qGetProp(ucs4)->mirrorDiff != 0;
1304
1305
1306
1307
1308
1309
1310
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1326
1327
1328
1329
1330
1331
1332
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1348
1349
1350
1351
1352
1353
1354
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1369
1370
1371
1372
1373
1374
1375
1378
1379
1380
1381
1382
1383
1384
1385
1386char32_t QChar::mirroredChar(
char32_t ucs4)
noexcept
1388 if (ucs4 > LastValidCodePoint)
1390 return ucs4 + qGetProp(ucs4)->mirrorDiff;
1405static const QChar * QT_FASTCALL decompositionHelper(
1406 char32_t ucs4, qsizetype *length, QChar::Decomposition *tag, QChar *buffer)
1408 if (ucs4 >= Hangul_SBase && ucs4 < Hangul_SBase + Hangul_SCount) {
1410 const char32_t SIndex = ucs4 - Hangul_SBase;
1411 buffer[0] = QChar(Hangul_LBase + SIndex / Hangul_NCount);
1412 buffer[1] = QChar(Hangul_VBase + (SIndex % Hangul_NCount) / Hangul_TCount);
1413 buffer[2] = QChar(Hangul_TBase + SIndex % Hangul_TCount);
1414 *length = buffer[2].unicode() == Hangul_TBase ? 2 : 3;
1415 *tag = QChar::Canonical;
1420 if (index == 0xffff) {
1422 *tag = QChar::NoDecomposition;
1426 const unsigned short *decomposition = uc_decomposition_map+index;
1427 *tag = QChar::Decomposition((*decomposition) & 0xff);
1428 *length = (*decomposition) >> 8;
1429 return reinterpret_cast<
const QChar *>(decomposition + 1);
1433
1434
1435
1436QString QChar::decomposition()
const
1438 return QChar::decomposition(ucs);
1442
1443
1444
1445
1446
1447
1448QString QChar::decomposition(
char32_t ucs4)
1452 QChar::Decomposition tag;
1453 const QChar *d = decompositionHelper(ucs4, &length, &tag, buffer);
1454 return QString(d, length);
1458
1459
1460
1461
1462
1465
1466
1467
1468
1469
1470
1471QChar::Decomposition QChar::decompositionTag(
char32_t ucs4)
noexcept
1473 if (ucs4 >= Hangul_SBase && ucs4 < Hangul_SBase + Hangul_SCount)
1474 return QChar::Canonical;
1476 if (index == 0xffff)
1477 return QChar::NoDecomposition;
1478 return (QChar::Decomposition)(uc_decomposition_map[index] & 0xff);
1482
1483
1484
1485
1486
1487
1488
1489
1490
1493
1494
1495
1496
1497
1498
1499unsigned char QChar::combiningClass(
char32_t ucs4)
noexcept
1501 if (ucs4 > LastValidCodePoint)
1503 return (
unsigned char) qGetProp(ucs4)->combiningClass;
1507
1508
1509
1510
1511
1514
1515
1516
1517
1518
1519
1520
1521
1522QChar::Script QChar::script(
char32_t ucs4)
noexcept
1524 if (ucs4 > LastValidCodePoint)
1525 return QChar::Script_Unknown;
1526 return (QChar::Script) qGetProp(ucs4)->script;
1530
1531
1532
1533
1536
1537
1538
1539
1540
1541
1542QChar::UnicodeVersion QChar::unicodeVersion(
char32_t ucs4)
noexcept
1544 if (ucs4 > LastValidCodePoint)
1545 return QChar::Unicode_Unassigned;
1546 return (QChar::UnicodeVersion) qGetProp(ucs4)->unicodeVersion;
1550
1551
1552QChar::UnicodeVersion QChar::currentUnicodeVersion()
noexcept
1564 auto begin()
const {
return chars; }
1565 auto end()
const {
return chars + sz; }
1567 auto data()
const {
return chars; }
1568 auto size()
const {
return sz; }
1570 Q_ASSERT(uc <= QChar::LastValidCodePoint);
1572 auto pp = result.chars;
1574 const auto fold = caseConversion(uc)[which];
1575 const auto caseDiff = fold.diff;
1577 if (Q_UNLIKELY(fold.special)) {
1579 auto length = *specialCase++;
1581 *pp++ = *specialCase++;
1584 for (
char16_t c : QChar::fromUcs4(uc + caseDiff))
1587 result.sz = pp - result.chars;
1591template <
typename T>
1592Q_DECL_CONST_FUNCTION
static inline T convertCase_helper(T uc, QUnicodeTables::Case which)
noexcept
1594 const auto fold = caseConversion(uc)[which];
1596 if (Q_UNLIKELY(fold.special)) {
1597 const ushort *specialCase = specialCaseMap + fold.diff;
1599 return *specialCase == 1 ? specialCase[1] : uc;
1602 return uc + fold.diff;
1606
1607
1608
1609
1610
1613
1614
1615
1616
1617
1618
1619
1620char32_t QChar::toLower(
char32_t ucs4)
noexcept
1622 if (ucs4 > LastValidCodePoint)
1624 return convertCase_helper(ucs4, QUnicodeTables::LowerCase);
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652char32_t QChar::toUpper(
char32_t ucs4)
noexcept
1654 if (ucs4 > LastValidCodePoint)
1656 return convertCase_helper(ucs4, QUnicodeTables::UpperCase);
1660
1661
1662
1663
1664
1667
1668
1669
1670
1671
1672
1673
1674char32_t QChar::toTitleCase(
char32_t ucs4)
noexcept
1676 if (ucs4 > LastValidCodePoint)
1678 return convertCase_helper(ucs4, QUnicodeTables::TitleCase);
1681static inline char32_t foldCase(
const char16_t *ch,
const char16_t *start)
1683 char32_t ucs4 = *ch;
1684 if (QChar::isLowSurrogate(ucs4) && ch > start && QChar::isHighSurrogate(*(ch - 1)))
1685 ucs4 = QChar::surrogateToUcs4(*(ch - 1), ucs4);
1689static inline char32_t foldCase(
char32_t ch,
char32_t &last)
noexcept
1692 if (QChar::isLowSurrogate(ucs4) && QChar::isHighSurrogate(last))
1693 ucs4 = QChar::surrogateToUcs4(last, ucs4);
1705 return QChar(foldCase(ch.unicode()));
1709
1710
1711
1712
1713
1716
1717
1718
1719
1720
1721
1722char32_t QChar::toCaseFolded(
char32_t ucs4)
noexcept
1724 if (ucs4 > LastValidCodePoint)
1726 return convertCase_helper(ucs4, QUnicodeTables::CaseFold);
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1742
1743
1744
1745
1746
1747
1748
1749
1750
1753
1754
1755
1756
1759
1760
1761
1762
1765
1766
1769
1770
1771
1772
1773
1776
1777
1778
1779
1780
1783
1784
1785
1786
1787
1790
1791
1792
1793
1794
1797
1798
1799
1800
1801
1804
1805
1806
1807
1808
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1831static void decomposeHelper(QString *str,
bool canonical, QChar::UnicodeVersion version, qsizetype from)
1834 QChar::Decomposition tag;
1839 const unsigned short *utf16 =
reinterpret_cast<
unsigned short *>(s.data());
1840 const unsigned short *uc = utf16 + s.size();
1841 while (uc != utf16 + from) {
1842 char32_t ucs4 = *(--uc);
1843 if (QChar(ucs4).isLowSurrogate() && uc != utf16) {
1844 ushort high = *(uc - 1);
1845 if (QChar(high).isHighSurrogate()) {
1847 ucs4 = QChar::surrogateToUcs4(high, ucs4);
1851 if (QChar::unicodeVersion(ucs4) > version)
1854 const QChar *d = decompositionHelper(ucs4, &length, &tag, buffer);
1855 if (!d || (canonical && tag != QChar::Canonical))
1858 qsizetype pos = uc - utf16;
1859 s.replace(pos, QChar::requiresSurrogates(ucs4) ? 2 : 1, d, length);
1861 utf16 =
reinterpret_cast<
unsigned short *>(s.data());
1862 uc = utf16 + pos + length;
1873{
return ligature1
.u1 < ligature2
.u1; }
1875{
return u1 < ligature
.u1; }
1877{
return ligature
.u1 < u1; }
1885{
return QChar::surrogateToUcs4(ligature1.p1.u1, ligature1.p1.u2) < QChar::surrogateToUcs4(ligature2.p1.u1, ligature2.p1.u2); }
1887{
return u1 < QChar::surrogateToUcs4(ligature.p1.u1, ligature.p1.u2); }
1889{
return QChar::surrogateToUcs4(ligature.p1.u1, ligature.p1.u2) < u1; }
1900 return Hangul_SBase + (LIndex * Hangul_VCount + VIndex) * Hangul_TCount;
1904 if (SIndex <
Hangul_SCount && (SIndex % Hangul_TCount) == 0) {
1912 if (index == 0xffff)
1915 ushort length = *ligatures++;
1916 if (QChar::requiresSurrogates(u1)) {
1919 if (r != data + length && QChar::surrogateToUcs4(r->p1.u1, r->p1.u2) == u1)
1920 return QChar::surrogateToUcs4(r->p2.u1, r->p2.u2);
1923 const UCS2Pair *r =
std::lower_bound(data, data + length, ushort(u1));
1924 if (r != data + length && r
->u1 == ushort(u1))
1931static void composeHelper(QString *str, QChar::UnicodeVersion version, qsizetype from)
1935 if (from < 0 || s.size() - from < 2)
1938 char32_t stcode = 0;
1939 qsizetype starter = -1;
1940 qsizetype next = -1;
1941 int lastCombining = 255;
1943 qsizetype pos = from;
1944 while (pos < s.size()) {
1946 char32_t uc = s.at(pos).unicode();
1947 if (QChar(uc).isHighSurrogate() && pos < s.size()-1) {
1948 ushort low = s.at(pos+1).unicode();
1949 if (QChar(low).isLowSurrogate()) {
1950 uc = QChar::surrogateToUcs4(uc, low);
1956 if (p->unicodeVersion > version) {
1959 lastCombining = 255;
1964 int combining = p->combiningClass;
1965 if ((i == next || combining > lastCombining) && starter >= from) {
1970 QChar *d = s.data();
1973 for (QChar ch : QChar::fromUcs4(ligature))
1974 d[starter + j++] = ch;
1979 if (combining == 0) {
1984 lastCombining = combining;
1994 const qsizetype l = s.size()-1;
1999 qsizetype pos = from;
2001 qsizetype p2 = pos+1;
2002 u1 = s.at(pos).unicode();
2003 if (QChar::isHighSurrogate(u1)) {
2004 const char16_t low = s.at(p2).unicode();
2005 if (QChar::isLowSurrogate(low)) {
2006 u1 = QChar::surrogateToUcs4(u1, low);
2015 u2 = s.at(p2).unicode();
2016 if (QChar::isHighSurrogate(u2) && p2 < l) {
2017 const char16_t low = s.at(p2+1).unicode();
2018 if (QChar::isLowSurrogate(low)) {
2019 u2 = QChar::surrogateToUcs4(u2, low);
2027 if (p->unicodeVersion <= version)
2028 c2 = p->combiningClass;
2037 if (p->unicodeVersion <= version)
2038 c1 = p->combiningClass;
2042 QChar *uc = s.data();
2045 for (QChar ch : QChar::fromUcs4(u2))
2047 for (QChar ch : QChar::fromUcs4(u1))
2051 if (pos > 0 && s.at(pos).isLowSurrogate())
2055 if (QChar::requiresSurrogates(u1))
2061 if (QChar::requiresSurrogates(u1))
2075 static_assert(QString::NormalizationForm_D == 0);
2076 static_assert(QString::NormalizationForm_C == 1);
2077 static_assert(QString::NormalizationForm_KD == 2);
2078 static_assert(QString::NormalizationForm_KC == 3);
2080 enum { NFQC_YES = 0, NFQC_NO = 1, NFQC_MAYBE = 3 };
2082 const auto *string =
reinterpret_cast<
const char16_t *>(str->constData());
2083 qsizetype length = str->size();
2086 while (length > from && QChar::isHighSurrogate(string[length - 1]))
2089 uchar lastCombining = 0;
2090 for (qsizetype i = from; i < length; ++i) {
2092 char32_t uc = string[i];
2100 if (QChar::isHighSurrogate(uc)) {
2101 ushort low = string[i + 1];
2102 if (!QChar::isLowSurrogate(low)) {
2109 uc = QChar::surrogateToUcs4(uc, low);
2114 if (p->combiningClass < lastCombining && p->combiningClass > 0)
2117 const uchar check = (p->nfQuickCheck >> (mode << 1)) & 0x03;
2118 if (check != NFQC_YES)
2121 lastCombining = p->combiningClass;
2122 if (lastCombining == 0)
2126 if (length != str->size())
2127 *lastStable = str->size() - 1;
static constexpr unsigned short specialCaseMap[]
constexpr unsigned int MaxSpecialCaseLength
static constexpr unsigned short uc_ligature_map[]
static Q_DECL_CONST_FUNCTION Q_ALWAYS_INLINE const Properties * qGetProp(char32_t ucs4) noexcept
bool operator<(const UCS2SurrogatePair &ligature, char32_t u1)
static constexpr quint32 Hangul_VCount
static constexpr char32_t Hangul_SBase
static constexpr char32_t Hangul_VBase
bool operator<(ushort u1, const UCS2Pair &ligature)
static constexpr quint32 Hangul_LCount
static char32_t ligatureHelper(char32_t u1, char32_t u2)
bool operator<(const UCS2Pair &ligature, ushort u1)
static void canonicalOrderHelper(QString *str, QChar::UnicodeVersion version, qsizetype from)
static constexpr char32_t Hangul_LBase
static constexpr char32_t Hangul_TBase
bool operator<(char32_t u1, const UCS2SurrogatePair &ligature)
static char32_t foldCase(char32_t ch, char32_t &last) noexcept
bool operator<(const UCS2SurrogatePair &ligature1, const UCS2SurrogatePair &ligature2)
bool operator<(const UCS2Pair &ligature1, const UCS2Pair &ligature2)
static auto fullConvertCase(char32_t uc, QUnicodeTables::Case which) noexcept
static constexpr quint32 Hangul_NCount
static void decomposeHelper(QString *str, bool canonical, QChar::UnicodeVersion version, qsizetype from)
static void composeHelper(QString *str, QChar::UnicodeVersion version, qsizetype from)
static constexpr quint32 Hangul_SCount
static bool normalizationQuickCheckHelper(QString *str, QString::NormalizationForm mode, qsizetype from, qsizetype *lastStable)
static QChar foldCase(QChar ch) noexcept
static constexpr quint32 Hangul_TCount
static char16_t foldCase(char16_t ch) noexcept
static char32_t foldCase(const char16_t *ch, const char16_t *start)
uint QT_FASTCALL fetch1Pixel< QPixelLayout::BPP1LSB >(const uchar *src, int index)
#define GET_LIGATURE_INDEX(ucs4)
#define GET_DECOMPOSITION_INDEX(ucs4)
#define UNICODE_DATA_VERSION