Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
5fa21b3a
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5fa21b3a
编写于
6月 30, 2014
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[indic-table] Fix category frequency counts in comments
上级
5c4e3e9a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
24 addition
and
24 deletion
+24
-24
src/gen-indic-table.py
src/gen-indic-table.py
+1
-1
src/hb-ot-shape-complex-indic-table.cc
src/hb-ot-shape-complex-indic-table.cc
+23
-23
未找到文件。
src/gen-indic-table.py
浏览文件 @
5fa21b3a
...
...
@@ -36,7 +36,7 @@ for i, f in enumerate (files):
for
u
in
range
(
start
,
end
+
1
):
data
[
i
][
u
]
=
t
values
[
i
][
t
]
=
values
[
i
].
get
(
t
,
0
)
+
1
values
[
i
][
t
]
=
values
[
i
].
get
(
t
,
0
)
+
end
-
start
+
1
# Merge data into one dict:
defaults
=
(
'Other'
,
'Not_Applicable'
,
'No_Block'
)
...
...
src/hb-ot-shape-complex-indic-table.cc
浏览文件 @
5fa21b3a
...
...
@@ -18,42 +18,42 @@
#define ISC_A INDIC_SYLLABIC_CATEGORY_AVAGRAHA
/* 11 chars; Avagraha */
#define ISC_Bi INDIC_SYLLABIC_CATEGORY_BINDU
/*
34
chars; Bindu */
#define ISC_C INDIC_SYLLABIC_CATEGORY_CONSONANT
/* 1
23
chars; Consonant */
#define ISC_CD INDIC_SYLLABIC_CATEGORY_CONSONANT_DEAD
/*
2
chars; Consonant_Dead */
#define ISC_CF INDIC_SYLLABIC_CATEGORY_CONSONANT_FINAL
/*
17
chars; Consonant_Final */
#define ISC_CHL INDIC_SYLLABIC_CATEGORY_CONSONANT_HEAD_LETTER
/*
1
chars; Consonant_Head_Letter */
#define ISC_CM INDIC_SYLLABIC_CATEGORY_CONSONANT_MEDIAL
/* 1
2
chars; Consonant_Medial */
#define ISC_CP INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
/*
4
chars; Consonant_Placeholder */
#define ISC_Bi INDIC_SYLLABIC_CATEGORY_BINDU
/*
47
chars; Bindu */
#define ISC_C INDIC_SYLLABIC_CATEGORY_CONSONANT
/* 1
481
chars; Consonant */
#define ISC_CD INDIC_SYLLABIC_CATEGORY_CONSONANT_DEAD
/*
7
chars; Consonant_Dead */
#define ISC_CF INDIC_SYLLABIC_CATEGORY_CONSONANT_FINAL
/*
61
chars; Consonant_Final */
#define ISC_CHL INDIC_SYLLABIC_CATEGORY_CONSONANT_HEAD_LETTER
/*
5
chars; Consonant_Head_Letter */
#define ISC_CM INDIC_SYLLABIC_CATEGORY_CONSONANT_MEDIAL
/* 1
9
chars; Consonant_Medial */
#define ISC_CP INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
/*
5
chars; Consonant_Placeholder */
#define ISC_CR INDIC_SYLLABIC_CATEGORY_CONSONANT_REPHA
/* 5 chars; Consonant_Repha */
#define ISC_CS INDIC_SYLLABIC_CATEGORY_CONSONANT_SUBJOINED
/*
10
chars; Consonant_Subjoined */
#define ISC_CS INDIC_SYLLABIC_CATEGORY_CONSONANT_SUBJOINED
/*
61
chars; Consonant_Subjoined */
#define ISC_ML INDIC_SYLLABIC_CATEGORY_MODIFYING_LETTER
/* 1 chars; Modifying_Letter */
#define ISC_N INDIC_SYLLABIC_CATEGORY_NUKTA
/* 12 chars; Nukta */
#define ISC_x INDIC_SYLLABIC_CATEGORY_OTHER
/* 1 chars; Other */
#define ISC_RS INDIC_SYLLABIC_CATEGORY_REGISTER_SHIFTER
/*
1
chars; Register_Shifter */
#define ISC_TL INDIC_SYLLABIC_CATEGORY_TONE_LETTER
/*
3
chars; Tone_Letter */
#define ISC_TM INDIC_SYLLABIC_CATEGORY_TONE_MARK
/*
16
chars; Tone_Mark */
#define ISC_V INDIC_SYLLABIC_CATEGORY_VIRAMA
/* 3
4
chars; Virama */
#define ISC_RS INDIC_SYLLABIC_CATEGORY_REGISTER_SHIFTER
/*
2
chars; Register_Shifter */
#define ISC_TL INDIC_SYLLABIC_CATEGORY_TONE_LETTER
/*
7
chars; Tone_Letter */
#define ISC_TM INDIC_SYLLABIC_CATEGORY_TONE_MARK
/*
40
chars; Tone_Mark */
#define ISC_V INDIC_SYLLABIC_CATEGORY_VIRAMA
/* 3
8
chars; Virama */
#define ISC_Vs INDIC_SYLLABIC_CATEGORY_VISARGA
/* 25 chars; Visarga */
#define ISC_Vo INDIC_SYLLABIC_CATEGORY_VOWEL
/*
5 chars; Vowel */
#define ISC_M INDIC_SYLLABIC_CATEGORY_VOWEL_DEPENDENT
/*
165
chars; Vowel_Dependent */
#define ISC_VI INDIC_SYLLABIC_CATEGORY_VOWEL_INDEPENDENT
/*
59
chars; Vowel_Independent */
#define ISC_Vo INDIC_SYLLABIC_CATEGORY_VOWEL
/*
2
5 chars; Vowel */
#define ISC_M INDIC_SYLLABIC_CATEGORY_VOWEL_DEPENDENT
/*
483
chars; Vowel_Dependent */
#define ISC_VI INDIC_SYLLABIC_CATEGORY_VOWEL_INDEPENDENT
/*
321
chars; Vowel_Independent */
#define IMC_B INDIC_MATRA_CATEGORY_BOTTOM
/*
65
chars; Bottom */
#define IMC_B INDIC_MATRA_CATEGORY_BOTTOM
/*
119
chars; Bottom */
#define IMC_BR INDIC_MATRA_CATEGORY_BOTTOM_AND_RIGHT
/* 2 chars; Bottom_And_Right */
#define IMC_I INDIC_MATRA_CATEGORY_INVISIBLE
/* 6 chars; Invisible */
#define IMC_L INDIC_MATRA_CATEGORY_LEFT
/*
30
chars; Left */
#define IMC_LR INDIC_MATRA_CATEGORY_LEFT_AND_RIGHT
/*
8
chars; Left_And_Right */
#define IMC_L INDIC_MATRA_CATEGORY_LEFT
/*
47
chars; Left */
#define IMC_LR INDIC_MATRA_CATEGORY_LEFT_AND_RIGHT
/*
17
chars; Left_And_Right */
#define IMC_x INDIC_MATRA_CATEGORY_NOT_APPLICABLE
/* 1 chars; Not_Applicable */
#define IMC_O INDIC_MATRA_CATEGORY_OVERSTRUCK
/* 2 chars; Overstruck */
#define IMC_R INDIC_MATRA_CATEGORY_RIGHT
/*
75
chars; Right */
#define IMC_T INDIC_MATRA_CATEGORY_TOP
/*
8
3 chars; Top */
#define IMC_TB INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM
/*
6
chars; Top_And_Bottom */
#define IMC_R INDIC_MATRA_CATEGORY_RIGHT
/*
132
chars; Right */
#define IMC_T INDIC_MATRA_CATEGORY_TOP
/*
14
3 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
/* 4 chars; Top_And_Left */
#define IMC_TLR INDIC_MATRA_CATEGORY_TOP_AND_LEFT_AND_RIGHT
/* 2 chars; Top_And_Left_And_Right */
#define IMC_TR INDIC_MATRA_CATEGORY_TOP_AND_RIGHT
/*
8
chars; Top_And_Right */
#define IMC_VOL INDIC_MATRA_CATEGORY_VISUAL_ORDER_LEFT
/*
5 chars; Visual_Order_Left */
#define IMC_TR INDIC_MATRA_CATEGORY_TOP_AND_RIGHT
/*
11
chars; Top_And_Right */
#define IMC_VOL INDIC_MATRA_CATEGORY_VISUAL_ORDER_LEFT
/*
1
5 chars; Visual_Order_Left */
#define _(S,M) INDIC_COMBINE_CATEGORIES (ISC_##S, IMC_##M)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录