|
|
|
@ -8,6 +8,8 @@
|
|
|
|
|
// from Unicode's DerivedNormalizationProps.txt and UnicodeData.txt.
|
|
|
|
|
// see scripts/ subdirectory
|
|
|
|
|
|
|
|
|
|
// TODO: (maybe) Replace them by flat_map or sorted arrays, because these might be faster. But make benchmarks first!
|
|
|
|
|
|
|
|
|
|
// Contains all codepoints with NFC_No property.
|
|
|
|
|
extern const std::set<unsigned> NFC_No;
|
|
|
|
|
|
|
|
|
@ -20,4 +22,7 @@ extern const std::map<unsigned, unsigned char> NFC_CombiningClass;
|
|
|
|
|
// Contains the canonical decomposing pairs. second member might be -1 for single decompositions.
|
|
|
|
|
extern const std::map<unsigned, std::pair<int,int>> NFC_Decompose;
|
|
|
|
|
|
|
|
|
|
// canonical composing mapping, except excluded ones according to Unicode TR-15
|
|
|
|
|
extern const std::map< std::pair<unsigned, unsigned>, unsigned> NFC_Compose;
|
|
|
|
|
|
|
|
|
|
#endif // NFC_SETS_HH
|
|
|
|
|