提交 afab01cf 编写于 作者: B Behdad Esfahbod

Add Unicode 6.0 scripts

上级 f234b68d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册