Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
bdbe974f
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
1 年多 前同步成功
通知
0
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
bdbe974f
编写于
10月 02, 2017
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[indic] Update table to Unicode 10
上级
cc79b666
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
36 addition
and
34 deletion
+36
-34
src/hb-ot-shape-complex-indic-table.cc
src/hb-ot-shape-complex-indic-table.cc
+36
-34
未找到文件。
src/hb-ot-shape-complex-indic-table.cc
浏览文件 @
bdbe974f
...
...
@@ -6,61 +6,62 @@
*
* on files with these headers:
*
* # IndicSyllabicCategory-
9
.0.0.txt
* # Date: 201
6-05-21, 02:46:00 GMT [
RP]
* # IndicPositionalCategory-
9
.0.0.txt
* # Date: 201
6-02-25, 00:48
:00 GMT [RP]
* # Blocks-
9
.0.0.txt
* # Date: 201
6-02-05, 23:48
:00 GMT [KW]
* # IndicSyllabicCategory-
10
.0.0.txt
* # Date: 201
7-05-31, 01:07:00 GMT [KW,
RP]
* # IndicPositionalCategory-
10
.0.0.txt
* # Date: 201
7-05-31, 01:07
:00 GMT [RP]
* # Blocks-
10
.0.0.txt
* # Date: 201
7-04-12, 17:30
:00 GMT [KW]
*/
#include "hb-ot-shape-complex-indic-private.hh"
#define ISC_A INDIC_SYLLABIC_CATEGORY_AVAGRAHA
/* 15 chars; Avagraha */
#define ISC_Bi INDIC_SYLLABIC_CATEGORY_BINDU
/*
67
chars; Bindu */
#define ISC_Bi INDIC_SYLLABIC_CATEGORY_BINDU
/*
80
chars; Bindu */
#define ISC_BJN INDIC_SYLLABIC_CATEGORY_BRAHMI_JOINING_NUMBER
/* 20 chars; Brahmi_Joining_Number */
#define ISC_Ca INDIC_SYLLABIC_CATEGORY_CANTILLATION_MARK
/* 5
3
chars; Cantillation_Mark */
#define ISC_C INDIC_SYLLABIC_CATEGORY_CONSONANT
/*
1907
chars; Consonant */
#define ISC_Ca INDIC_SYLLABIC_CATEGORY_CANTILLATION_MARK
/* 5
7
chars; Cantillation_Mark */
#define ISC_C INDIC_SYLLABIC_CATEGORY_CONSONANT
/*
2024
chars; Consonant */
#define ISC_CD INDIC_SYLLABIC_CATEGORY_CONSONANT_DEAD
/* 10 chars; Consonant_Dead */
#define ISC_CF INDIC_SYLLABIC_CATEGORY_CONSONANT_FINAL
/* 6
2
chars; Consonant_Final */
#define ISC_CF INDIC_SYLLABIC_CATEGORY_CONSONANT_FINAL
/* 6
8
chars; Consonant_Final */
#define ISC_CHL INDIC_SYLLABIC_CATEGORY_CONSONANT_HEAD_LETTER
/* 5 chars; Consonant_Head_Letter */
#define ISC_CK INDIC_SYLLABIC_CATEGORY_CONSONANT_KILLER
/* 2 chars; Consonant_Killer */
#define ISC_CM INDIC_SYLLABIC_CATEGORY_CONSONANT_MEDIAL
/* 2
2
chars; Consonant_Medial */
#define ISC_CP INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
/* 1
6
chars; Consonant_Placeholder */
#define ISC_CPR INDIC_SYLLABIC_CATEGORY_CONSONANT_PRECEDING_REPHA
/*
1
chars; Consonant_Preceding_Repha */
#define ISC_CPrf INDIC_SYLLABIC_CATEGORY_CONSONANT_PREFIXED
/*
2
chars; Consonant_Prefixed */
#define ISC_CS INDIC_SYLLABIC_CATEGORY_CONSONANT_SUBJOINED
/* 9
0
chars; Consonant_Subjoined */
#define ISC_CSR INDIC_SYLLABIC_CATEGORY_CONSONANT_SUCCEEDING_REPHA
/*
4
chars; Consonant_Succeeding_Repha */
#define ISC_CM INDIC_SYLLABIC_CATEGORY_CONSONANT_MEDIAL
/* 2
7
chars; Consonant_Medial */
#define ISC_CP INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
/* 1
8
chars; Consonant_Placeholder */
#define ISC_CPR INDIC_SYLLABIC_CATEGORY_CONSONANT_PRECEDING_REPHA
/*
2
chars; Consonant_Preceding_Repha */
#define ISC_CPrf INDIC_SYLLABIC_CATEGORY_CONSONANT_PREFIXED
/*
7
chars; Consonant_Prefixed */
#define ISC_CS INDIC_SYLLABIC_CATEGORY_CONSONANT_SUBJOINED
/* 9
5
chars; Consonant_Subjoined */
#define ISC_CSR INDIC_SYLLABIC_CATEGORY_CONSONANT_SUCCEEDING_REPHA
/*
5
chars; Consonant_Succeeding_Repha */
#define ISC_CWS INDIC_SYLLABIC_CATEGORY_CONSONANT_WITH_STACKER
/* 4 chars; Consonant_With_Stacker */
#define ISC_GM INDIC_SYLLABIC_CATEGORY_GEMINATION_MARK
/*
2
chars; Gemination_Mark */
#define ISC_IS INDIC_SYLLABIC_CATEGORY_INVISIBLE_STACKER
/*
7
chars; Invisible_Stacker */
#define ISC_GM INDIC_SYLLABIC_CATEGORY_GEMINATION_MARK
/*
3
chars; Gemination_Mark */
#define ISC_IS INDIC_SYLLABIC_CATEGORY_INVISIBLE_STACKER
/*
10
chars; Invisible_Stacker */
#define ISC_ZWJ INDIC_SYLLABIC_CATEGORY_JOINER
/* 1 chars; Joiner */
#define ISC_ML INDIC_SYLLABIC_CATEGORY_MODIFYING_LETTER
/* 1 chars; Modifying_Letter */
#define ISC_ZWNJ INDIC_SYLLABIC_CATEGORY_NON_JOINER
/* 1 chars; Non_Joiner */
#define ISC_N INDIC_SYLLABIC_CATEGORY_NUKTA
/* 2
4
chars; Nukta */
#define ISC_Nd INDIC_SYLLABIC_CATEGORY_NUMBER
/* 4
5
9 chars; Number */
#define ISC_N INDIC_SYLLABIC_CATEGORY_NUKTA
/* 2
8
chars; Nukta */
#define ISC_Nd INDIC_SYLLABIC_CATEGORY_NUMBER
/* 4
6
9 chars; Number */
#define ISC_NJ INDIC_SYLLABIC_CATEGORY_NUMBER_JOINER
/* 1 chars; Number_Joiner */
#define ISC_x INDIC_SYLLABIC_CATEGORY_OTHER
/* 1 chars; Other */
#define ISC_PK INDIC_SYLLABIC_CATEGORY_PURE_KILLER
/*
16
chars; Pure_Killer */
#define ISC_PK INDIC_SYLLABIC_CATEGORY_PURE_KILLER
/*
21
chars; Pure_Killer */
#define ISC_RS INDIC_SYLLABIC_CATEGORY_REGISTER_SHIFTER
/* 2 chars; Register_Shifter */
#define ISC_SM INDIC_SYLLABIC_CATEGORY_SYLLABLE_MODIFIER
/* 22 chars; Syllable_Modifier */
#define ISC_TL INDIC_SYLLABIC_CATEGORY_TONE_LETTER
/* 7 chars; Tone_Letter */
#define ISC_TM INDIC_SYLLABIC_CATEGORY_TONE_MARK
/* 42 chars; Tone_Mark */
#define ISC_V INDIC_SYLLABIC_CATEGORY_VIRAMA
/* 24 chars; Virama */
#define ISC_Vs INDIC_SYLLABIC_CATEGORY_VISARGA
/* 3
1
chars; Visarga */
#define ISC_Vs INDIC_SYLLABIC_CATEGORY_VISARGA
/* 3
4
chars; Visarga */
#define ISC_Vo INDIC_SYLLABIC_CATEGORY_VOWEL
/* 30 chars; Vowel */
#define ISC_M INDIC_SYLLABIC_CATEGORY_VOWEL_DEPENDENT
/* 6
02
chars; Vowel_Dependent */
#define ISC_VI INDIC_SYLLABIC_CATEGORY_VOWEL_INDEPENDENT
/* 4
31
chars; Vowel_Independent */
#define ISC_M INDIC_SYLLABIC_CATEGORY_VOWEL_DEPENDENT
/* 6
33
chars; Vowel_Dependent */
#define ISC_VI INDIC_SYLLABIC_CATEGORY_VOWEL_INDEPENDENT
/* 4
43
chars; Vowel_Independent */
#define IMC_B INDIC_MATRA_CATEGORY_BOTTOM
/* 300 chars; Bottom */
#define IMC_B INDIC_MATRA_CATEGORY_BOTTOM
/* 330 chars; Bottom */
#define IMC_BL INDIC_MATRA_CATEGORY_BOTTOM_AND_LEFT
/* 1 chars; Bottom_And_Left */
#define IMC_BR INDIC_MATRA_CATEGORY_BOTTOM_AND_RIGHT
/* 2 chars; Bottom_And_Right */
#define IMC_L INDIC_MATRA_CATEGORY_LEFT
/* 57 chars; Left */
#define IMC_LR INDIC_MATRA_CATEGORY_LEFT_AND_RIGHT
/* 21 chars; Left_And_Right */
#define IMC_x INDIC_MATRA_CATEGORY_NOT_APPLICABLE
/* 1 chars; Not_Applicable */
#define IMC_O INDIC_MATRA_CATEGORY_OVERSTRUCK
/* 10 chars; Overstruck */
#define IMC_R INDIC_MATRA_CATEGORY_RIGHT
/* 2
58
chars; Right */
#define IMC_T INDIC_MATRA_CATEGORY_TOP
/* 3
42
chars; Top */
#define IMC_R INDIC_MATRA_CATEGORY_RIGHT
/* 2
62
chars; Right */
#define IMC_T INDIC_MATRA_CATEGORY_TOP
/* 3
80
chars; Top */
#define IMC_TB INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM
/* 10 chars; Top_And_Bottom */
#define IMC_TBR INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM_AND_RIGHT
/* 1 chars; Top_And_Bottom_And_Right */
#define IMC_TL INDIC_MATRA_CATEGORY_TOP_AND_LEFT
/* 6 chars; Top_And_Left */
...
...
@@ -133,7 +134,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 09E0 */
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
/* 09E8 */
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
/* 09F0 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 09F8 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 09F8 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
Bi
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* Gurmukhi */
...
...
@@ -171,7 +172,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 0AE0 */
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
/* 0AE8 */
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
_
(
Nd
,
x
),
/* 0AF0 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0AF8 */
_
(
x
,
x
),
_
(
C
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0AF8 */
_
(
x
,
x
),
_
(
C
,
x
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
N
,
T
),
_
(
N
,
T
),
_
(
N
,
T
),
/* Oriya */
...
...
@@ -251,14 +252,14 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* Malayalam */
/* 0D00 */
_
(
x
,
x
),
_
(
Bi
,
T
),
_
(
Bi
,
R
),
_
(
Vs
,
R
),
_
(
x
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
/* 0D00 */
_
(
Bi
,
T
),
_
(
Bi
,
T
),
_
(
Bi
,
R
),
_
(
Vs
,
R
),
_
(
x
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
/* 0D08 */
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
x
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
/* 0D10 */
_
(
VI
,
x
),
_
(
x
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
VI
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0D18 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0D20 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0D28 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0D30 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0D38 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
A
,
x
),
_
(
M
,
R
),
_
(
M
,
R
),
/* 0D38 */
_
(
C
,
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
R
),
/* 1CF8 */
_
(
Ca
,
x
),
_
(
Ca
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x2008u 1656
...
...
@@ -368,7 +369,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* A8E0 */
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
/* A8E8 */
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Ca
,
T
),
/* A8F0 */
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* A8F0 */
_
(
Ca
,
T
),
_
(
Ca
,
T
),
_
(
Bi
,
x
),
_
(
Bi
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0xa9e0u 1720
...
...
@@ -390,7 +391,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* AA70 */
_
(
x
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
CP
,
x
),
_
(
CP
,
x
),
_
(
CP
,
x
),
_
(
x
,
x
),
/* AA78 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
C
,
x
),
_
(
TM
,
R
),
_
(
TM
,
T
),
_
(
TM
,
R
),
_
(
C
,
x
),
_
(
C
,
x
),
};
/* Table items: 1784; occupancy:
69
% */
};
/* Table items: 1784; occupancy:
70
% */
INDIC_TABLE_ELEMENT_TYPE
hb_indic_get_categories
(
hb_codepoint_t
u
)
...
...
@@ -467,6 +468,7 @@ hb_indic_get_categories (hb_codepoint_t u)
#undef ISC_VI
#undef IMC_B
#undef IMC_BL
#undef IMC_BR
#undef IMC_L
#undef IMC_LR
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录