[Unicode 14] Update the Arabic table
This commit is contained in:
parent
7b05eec054
commit
18a46eeafb
|
@ -6,10 +6,10 @@
|
||||||
*
|
*
|
||||||
* on files with these headers:
|
* on files with these headers:
|
||||||
*
|
*
|
||||||
* # ArabicShaping-13.0.0.txt
|
* # ArabicShaping-14.0.0.txt
|
||||||
* # Date: 2020-01-31, 23:55:00 GMT [KW, RP]
|
* # Date: 2021-05-21, 01:54:00 GMT [KW, RP]
|
||||||
* # Blocks-13.0.0.txt
|
* # Blocks-14.0.0.txt
|
||||||
* # Date: 2019-07-10, 19:06:00 GMT [KW]
|
* # Date: 2021-01-22, 23:29:00 GMT [KW]
|
||||||
* UnicodeData.txt does not have a header.
|
* UnicodeData.txt does not have a header.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -75,13 +75,17 @@ static const uint8_t joining_table[] =
|
||||||
|
|
||||||
/* Syriac Supplement */
|
/* Syriac Supplement */
|
||||||
|
|
||||||
/* 0860 */ D,U,D,D,D,D,U,R,D,R,R,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
/* 0860 */ D,U,D,D,D,D,U,R,D,R,R,X,X,X,X,X,
|
||||||
/* 0880 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
|
||||||
|
/* Arabic Extended-B */
|
||||||
|
|
||||||
|
/* 0860 */ R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,R,
|
||||||
|
/* 0880 */ R,R,R,C,C,C,D,U,U,D,D,D,D,D,R,X,U,U,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
||||||
|
|
||||||
/* Arabic Extended-A */
|
/* Arabic Extended-A */
|
||||||
|
|
||||||
/* 08A0 */ D,D,D,D,D,D,D,D,D,D,R,R,R,U,R,D,D,R,R,D,D,X,D,D,D,R,D,D,D,D,D,D,
|
/* 08A0 */ D,D,D,D,D,D,D,D,D,D,R,R,R,U,R,D,D,R,R,D,D,D,D,D,D,R,D,D,D,D,D,D,
|
||||||
/* 08C0 */ D,D,D,D,D,D,D,D,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
/* 08C0 */ D,D,D,D,D,D,D,D,D,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
||||||
/* 08E0 */ X,X,U,
|
/* 08E0 */ X,X,U,
|
||||||
|
|
||||||
#define joining_offset_0x1806u 739
|
#define joining_offset_0x1806u 739
|
||||||
|
@ -137,23 +141,28 @@ static const uint8_t joining_table[] =
|
||||||
/* Sogdian */
|
/* Sogdian */
|
||||||
|
|
||||||
/* 10F20 */ D,D,D,R,D,D,D,D,D,D,D,D,D,D,D,D,
|
/* 10F20 */ D,D,D,R,D,D,D,D,D,D,D,D,D,D,D,D,
|
||||||
/* 10F40 */ D,D,D,D,D,U,X,X,X,X,X,X,X,X,X,X,X,D,D,D,R,
|
/* 10F40 */ D,D,D,D,D,U,X,X,X,X,X,X,X,X,X,X,X,D,D,D,R,X,X,X,X,X,X,X,X,X,X,X,
|
||||||
|
/* 10F60 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
||||||
|
|
||||||
#define joining_offset_0x10fb0u 1219
|
/* Old Uyghur */
|
||||||
|
|
||||||
|
/* 10F60 */ D,D,D,D,R,R,D,D,D,D,D,D,D,D,D,D,
|
||||||
|
/* 10F80 */ D,D,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
||||||
|
/* 10FA0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
|
||||||
|
|
||||||
/* Chorasmian */
|
/* Chorasmian */
|
||||||
|
|
||||||
/* 10FA0 */ D,U,D,D,R,R,R,U,D,R,R,D,D,R,D,D,
|
/* 10FA0 */ D,U,D,D,R,R,R,U,D,R,R,D,D,R,D,D,
|
||||||
/* 10FC0 */ U,D,R,R,D,U,U,U,U,R,D,L,
|
/* 10FC0 */ U,D,R,R,D,U,U,U,U,R,D,L,
|
||||||
|
|
||||||
#define joining_offset_0x110bdu 1247
|
#define joining_offset_0x110bdu 1338
|
||||||
|
|
||||||
/* Kaithi */
|
/* Kaithi */
|
||||||
|
|
||||||
/* 110A0 */ U,X,X,
|
/* 110A0 */ U,X,X,
|
||||||
/* 110C0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,U,
|
/* 110C0 */ X,X,X,X,X,X,X,X,X,X,X,X,X,U,
|
||||||
|
|
||||||
#define joining_offset_0x1e900u 1264
|
#define joining_offset_0x1e900u 1355
|
||||||
|
|
||||||
/* Adlam */
|
/* Adlam */
|
||||||
|
|
||||||
|
@ -161,7 +170,7 @@ static const uint8_t joining_table[] =
|
||||||
/* 1E920 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
|
/* 1E920 */ D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,
|
||||||
/* 1E940 */ D,D,D,D,X,X,X,X,X,X,X,T,
|
/* 1E940 */ D,D,D,D,X,X,X,X,X,X,X,T,
|
||||||
|
|
||||||
}; /* Table items: 1340; occupancy: 57% */
|
}; /* Table items: 1431; occupancy: 57% */
|
||||||
|
|
||||||
|
|
||||||
static unsigned int
|
static unsigned int
|
||||||
|
@ -189,8 +198,7 @@ joining_type (hb_codepoint_t u)
|
||||||
if (hb_in_range<hb_codepoint_t> (u, 0x10AC0u, 0x10AEFu)) return joining_table[u - 0x10AC0u + joining_offset_0x10ac0u];
|
if (hb_in_range<hb_codepoint_t> (u, 0x10AC0u, 0x10AEFu)) return joining_table[u - 0x10AC0u + joining_offset_0x10ac0u];
|
||||||
if (hb_in_range<hb_codepoint_t> (u, 0x10B80u, 0x10BAFu)) return joining_table[u - 0x10B80u + joining_offset_0x10b80u];
|
if (hb_in_range<hb_codepoint_t> (u, 0x10B80u, 0x10BAFu)) return joining_table[u - 0x10B80u + joining_offset_0x10b80u];
|
||||||
if (hb_in_range<hb_codepoint_t> (u, 0x10D00u, 0x10D23u)) return joining_table[u - 0x10D00u + joining_offset_0x10d00u];
|
if (hb_in_range<hb_codepoint_t> (u, 0x10D00u, 0x10D23u)) return joining_table[u - 0x10D00u + joining_offset_0x10d00u];
|
||||||
if (hb_in_range<hb_codepoint_t> (u, 0x10F30u, 0x10F54u)) return joining_table[u - 0x10F30u + joining_offset_0x10f30u];
|
if (hb_in_range<hb_codepoint_t> (u, 0x10F30u, 0x10FCBu)) return joining_table[u - 0x10F30u + joining_offset_0x10f30u];
|
||||||
if (hb_in_range<hb_codepoint_t> (u, 0x10FB0u, 0x10FCBu)) return joining_table[u - 0x10FB0u + joining_offset_0x10fb0u];
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x11u:
|
case 0x11u:
|
||||||
|
|
Loading…
Reference in New Issue