Add Unicode 6.0 scripts
This commit is contained in:
parent
f234b68d18
commit
afab01cf7c
|
@ -228,6 +228,12 @@ hb_icu_get_script (hb_codepoint_t unicode)
|
|||
MATCH_SCRIPT2(ORKHON, OLD_TURKIC); /* Orkh */
|
||||
MATCH_SCRIPT (SAMARITAN); /* Samr */
|
||||
MATCH_SCRIPT (TAI_VIET); /* Tavt */
|
||||
|
||||
/* Unicode-6.0 additions */
|
||||
MATCH_SCRIPT (BATAK); /* Batk */
|
||||
MATCH_SCRIPT (BRAHMI); /* Brah */
|
||||
MATCH_SCRIPT2(MANDAEAN, MANDAIC); /* Mand */
|
||||
|
||||
}
|
||||
return HB_SCRIPT_UNKNOWN;
|
||||
}
|
||||
|
|
|
@ -139,7 +139,12 @@ static const hb_tag_t ot_scripts[][3] = {
|
|||
{HB_TAG('D','F','L','T')}, /* HB_SCRIPT_OLD_TURKIC */
|
||||
{HB_TAG('D','F','L','T')}, /* HB_SCRIPT_SAMARITAN */
|
||||
{HB_TAG('D','F','L','T')}, /* HB_SCRIPT_TAI_THAM */
|
||||
{HB_TAG('D','F','L','T')} /* HB_SCRIPT_TAI_VIET */
|
||||
{HB_TAG('D','F','L','T')}, /* HB_SCRIPT_TAI_VIET */
|
||||
|
||||
/* Unicode-6.0 additions */
|
||||
{HB_TAG('D','F','L','T')}, /* HB_SCRIPT_BATAK */
|
||||
{HB_TAG('D','F','L','T')}, /* HB_SCRIPT_BRAHMI */
|
||||
{HB_TAG('D','F','L','T')} /* HB_SCRIPT_MANDAIC */
|
||||
};
|
||||
|
||||
const hb_tag_t *
|
||||
|
|
|
@ -341,7 +341,12 @@ const hb_direction_t horiz_dir[] =
|
|||
RTL, /* Orkh */
|
||||
RTL, /* Samr */
|
||||
LTR, /* Lana */
|
||||
LTR /* Tavt */
|
||||
LTR, /* Tavt */
|
||||
|
||||
/* Unicode-6.0 additions */
|
||||
LTR, /* Batk */
|
||||
LTR, /* Brah */
|
||||
RTL /* Mand */
|
||||
};
|
||||
#undef LTR
|
||||
#undef RTL
|
||||
|
|
|
@ -173,7 +173,12 @@ typedef enum
|
|||
HB_SCRIPT_OLD_TURKIC, /* Orkh */
|
||||
HB_SCRIPT_SAMARITAN, /* Samr */
|
||||
HB_SCRIPT_TAI_THAM, /* Lana */
|
||||
HB_SCRIPT_TAI_VIET /* Tavt */
|
||||
HB_SCRIPT_TAI_VIET, /* Tavt */
|
||||
|
||||
/* Unicode-6.0 additions */
|
||||
HB_SCRIPT_BATAK, /* Batk */
|
||||
HB_SCRIPT_BRAHMI, /* Brah */
|
||||
HB_SCRIPT_MANDAIC /* Mand */
|
||||
} hb_script_t;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue