Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
171f970e
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看板
提交
171f970e
编写于
6月 20, 2014
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[indic-table] Black-list Thai, Lao, and Tibetan
We don't need Indic table for those.
上级
65ac2dae
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
21 addition
and
76 deletion
+21
-76
src/gen-indic-table.py
src/gen-indic-table.py
+3
-0
src/hb-ot-shape-complex-indic-table.cc
src/hb-ot-shape-complex-indic-table.cc
+18
-76
未找到文件。
src/gen-indic-table.py
浏览文件 @
171f970e
...
...
@@ -6,6 +6,8 @@ if len (sys.argv) != 4:
print
>>
sys
.
stderr
,
"usage: ./gen-indic-table.py IndicSyllabicCategory.txt IndicMatraCategory.txt Blocks.txt"
sys
.
exit
(
1
)
BLACKLISTED_BLOCKS
=
[
"Thai"
,
"Lao"
,
"Tibetan"
]
files
=
[
file
(
x
)
for
x
in
sys
.
argv
[
1
:]]
headers
=
[[
f
.
readline
()
for
i
in
range
(
2
)]
for
f
in
files
]
...
...
@@ -52,6 +54,7 @@ for i,d in enumerate (data):
if
not
u
in
combined
:
combined
[
u
]
=
list
(
defaults
)
combined
[
u
][
i
]
=
v
combined
=
{
k
:
v
for
k
,
v
in
combined
.
items
()
if
v
[
2
]
not
in
BLACKLISTED_BLOCKS
}
data
=
combined
del
combined
num
=
len
(
data
)
...
...
src/hb-ot-shape-complex-indic-table.cc
浏览文件 @
171f970e
...
...
@@ -252,65 +252,8 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 0DE0 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0DE8 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0DF0 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0DF8 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* Thai */
/* 0E00 */
_
(
x
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0E08 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0E10 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0E18 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0E20 */
_
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x
,
x
),
_
(
M
,
T
),
_
(
CM
,
x
),
_
(
CM
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0EC0 */
_
(
M
,
VOL
),
_
(
M
,
VOL
),
_
(
M
,
VOL
),
_
(
M
,
VOL
),
_
(
M
,
VOL
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0EC8 */
_
(
TM
,
x
),
_
(
TM
,
x
),
_
(
TM
,
x
),
_
(
TM
,
x
),
_
(
x
,
x
),
_
(
Bi
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0ED0 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 0ED8 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x0f40 1504
/* Tibetan */
/* 0F40 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0F48 */
_
(
x
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0F50 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0F58 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
/* 0F60 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),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
x
),
_
(
CS
,
x
),
/* 0FB0 */
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
/* 0FB8 */
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
CS
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x1000 1632
#define indic_offset_0x1000 1272
/* Myanmar */
...
...
@@ -336,7 +279,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 1090 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 1098 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
TM
,
x
),
_
(
TM
,
x
),
_
(
M
,
R
),
_
(
M
,
T
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x1700 1
79
2
#define indic_offset_0x1700 1
43
2
/* Tagalog */
...
...
@@ -382,7 +325,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 17D0 */
_
(
x
,
x
),
_
(
V
,
T
),
_
(
V
,
I
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 17D8 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
A
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x1900
201
6
#define indic_offset_0x1900
165
6
/* Limbu */
...
...
@@ -448,7 +391,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 1A70 */
_
(
M
,
L
),
_
(
M
,
L
),
_
(
M
,
L
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
TM
,
x
),
_
(
TM
,
x
),
_
(
TM
,
x
),
/* 1A78 */
_
(
TM
,
x
),
_
(
TM
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x1b00 2
40
0
#define indic_offset_0x1b00 2
04
0
/* Balinese */
...
...
@@ -505,14 +448,14 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 1C40 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 1C48 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
#define indic_offset_0x1cf0 2
73
6
#define indic_offset_0x1cf0 2
37
6
/* Vedic Extensions */
/* 1CF0 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
Vs
,
x
),
_
(
Vs
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0xa800 2
74
4
#define indic_offset_0xa800 2
38
4
/* Syloti Nagri */
...
...
@@ -549,7 +492,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* A8B8 */
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
/* A8C0 */
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
V
,
B
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0xa908 2
94
4
#define indic_offset_0xa908 2
58
4
/* Kayah Li */
...
...
@@ -585,7 +528,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* A9B8 */
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
L
),
_
(
M
,
L
),
_
(
M
,
T
),
_
(
CS
,
x
),
_
(
CM
,
x
),
_
(
CM
,
x
),
/* A9C0 */
_
(
V
,
BR
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0xaa00
313
6
#define indic_offset_0xaa00
277
6
/* Cham */
...
...
@@ -631,7 +574,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* AAE8 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
M
,
L
),
_
(
M
,
B
),
_
(
M
,
T
),
_
(
M
,
L
),
_
(
M
,
R
),
/* AAF0 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
Vs
,
x
),
_
(
V
,
I
),
_
(
x
,
x
),
#define indic_offset_0xabc0 3
38
4
#define indic_offset_0xabc0 3
02
4
/* Meetei Mayek */
...
...
@@ -643,7 +586,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* ABE0 */
_
(
CF
,
x
),
_
(
CF
,
x
),
_
(
CF
,
x
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
M
,
T
),
_
(
M
,
R
),
_
(
M
,
R
),
/* ABE8 */
_
(
M
,
B
),
_
(
M
,
R
),
_
(
M
,
R
),
_
(
x
,
x
),
_
(
TM
,
x
),
_
(
V
,
B
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x10a00 3
43
2
#define indic_offset_0x10a00 3
07
2
/* Kharoshthi */
...
...
@@ -657,7 +600,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 10A30 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
/* 10A38 */
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
V
,
I
),
#define indic_offset_0x11000 3
49
6
#define indic_offset_0x11000 3
13
6
/* Brahmi */
...
...
@@ -672,7 +615,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 11038 */
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
B
),
/* 11040 */
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
V
,
T
),
_
(
x
,
x
),
#define indic_offset_0x11080 3
56
8
#define indic_offset_0x11080 3
20
8
/* Kaithi */
...
...
@@ -686,7 +629,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 110B0 */
_
(
M
,
R
),
_
(
M
,
L
),
_
(
M
,
R
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
R
),
/* 110B8 */
_
(
M
,
R
),
_
(
V
,
B
),
_
(
N
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x11100 3
63
2
#define indic_offset_0x11100 3
27
2
/* Chakma */
...
...
@@ -699,7 +642,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 11128 */
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
L
),
_
(
M
,
T
),
_
(
M
,
TB
),
_
(
M
,
TB
),
/* 11130 */
_
(
M
,
T
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
V
,
I
),
_
(
V
,
T
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x11180 3
68
8
#define indic_offset_0x11180 3
32
8
/* Sharada */
...
...
@@ -714,7 +657,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 111B8 */
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
TR
),
/* 111C0 */
_
(
V
,
R
),
_
(
A
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
_
(
x
,
x
),
#define indic_offset_0x11680 3
76
0
#define indic_offset_0x11680 3
40
0
/* Takri */
...
...
@@ -727,7 +670,7 @@ static const INDIC_TABLE_ELEMENT_TYPE indic_table[] = {
/* 116A8 */
_
(
C
,
x
),
_
(
C
,
x
),
_
(
C
,
x
),
_
(
Bi
,
x
),
_
(
Vs
,
x
),
_
(
M
,
T
),
_
(
M
,
L
),
_
(
M
,
R
),
/* 116B0 */
_
(
M
,
B
),
_
(
M
,
B
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
M
,
T
),
_
(
V
,
T
),
_
(
N
,
x
),
};
/* Table items: 3
81
6; occupancy: 69% */
};
/* Table items: 3
45
6; occupancy: 69% */
INDIC_TABLE_ELEMENT_TYPE
hb_indic_get_categories
(
hb_codepoint_t
u
)
...
...
@@ -735,8 +678,7 @@ hb_indic_get_categories (hb_codepoint_t u)
switch
(
u
>>
12
)
{
case
0x0
:
if
(
0x0900
<=
u
&&
u
<=
0x0EE0
)
return
indic_table
[
u
-
0x0900
+
indic_offset_0x0900
];
if
(
0x0F40
<=
u
&&
u
<=
0x0FC0
)
return
indic_table
[
u
-
0x0F40
+
indic_offset_0x0f40
];
if
(
0x0900
<=
u
&&
u
<=
0x0DF8
)
return
indic_table
[
u
-
0x0900
+
indic_offset_0x0900
];
if
(
unlikely
(
u
==
0x00A0
))
return
_
(
CP
,
x
);
break
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录