Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
125c45ed
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看板
提交
125c45ed
编写于
5月 15, 2019
作者:
D
David Corbett
提交者:
Behdad Esfahbod
5月 15, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Convert Consonant_Initial_Postfixed to CONS_MED
上级
99ca956c
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
5 addition
and
4 deletion
+5
-4
src/gen-use-table.py
src/gen-use-table.py
+3
-3
src/hb-ot-shape-complex-use-table.cc
src/hb-ot-shape-complex-use-table.cc
+1
-1
test/shaping/data/in-house/fonts/fd565cabd5208d345d0ed4fda7ae742917d846a5.ttf
...-house/fonts/fd565cabd5208d345d0ed4fda7ae742917d846a5.ttf
+0
-0
test/shaping/data/in-house/tests/use-syllable.tests
test/shaping/data/in-house/tests/use-syllable.tests
+1
-0
未找到文件。
src/gen-use-table.py
浏览文件 @
125c45ed
...
...
@@ -197,15 +197,15 @@ def is_BASE_OTHER(U, UISC, UGC):
def
is_CGJ
(
U
,
UISC
,
UGC
):
return
U
==
0x034F
def
is_CONS_FINAL
(
U
,
UISC
,
UGC
):
# Consonant_Initial_Postfixed is new in Unicode 11; not in the spec.
return
((
UISC
==
Consonant_Final
and
UGC
!=
Lo
)
or
UISC
==
Consonant_Initial_Postfixed
or
UISC
==
Consonant_Succeeding_Repha
)
def
is_CONS_FINAL_MOD
(
U
,
UISC
,
UGC
):
#SPEC-DRAFT return UISC in [Consonant_Final_Modifier, Syllable_Modifier]
return
UISC
==
Syllable_Modifier
def
is_CONS_MED
(
U
,
UISC
,
UGC
):
return
UISC
==
Consonant_Medial
and
UGC
!=
Lo
# Consonant_Initial_Postfixed is new in Unicode 11; not in the spec.
return
(
UISC
==
Consonant_Medial
and
UGC
!=
Lo
or
UISC
==
Consonant_Initial_Postfixed
)
def
is_CONS_MOD
(
U
,
UISC
,
UGC
):
return
UISC
in
[
Nukta
,
Gemination_Mark
,
Consonant_Killer
]
def
is_CONS_SUB
(
U
,
UISC
,
UGC
):
...
...
src/hb-ot-shape-complex-use-table.cc
浏览文件 @
125c45ed
...
...
@@ -302,7 +302,7 @@ static const USE_TABLE_ELEMENT_TYPE use_table[] = {
/* 1A20 */
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
/* 1A30 */
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
/* 1A40 */
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
/* 1A50 */
B
,
B
,
B
,
B
,
B
,
MPre
,
MBlw
,
SUB
,
FAbv
,
FAbv
,
F
Abv
,
SUB
,
SUB
,
SUB
,
SUB
,
O
,
/* 1A50 */
B
,
B
,
B
,
B
,
B
,
MPre
,
MBlw
,
SUB
,
FAbv
,
FAbv
,
M
Abv
,
SUB
,
SUB
,
SUB
,
SUB
,
O
,
/* 1A60 */
H
,
VPst
,
VAbv
,
VPst
,
VPst
,
VAbv
,
VAbv
,
VAbv
,
VAbv
,
VBlw
,
VBlw
,
VAbv
,
VBlw
,
VPst
,
VPre
,
VPre
,
/* 1A70 */
VPre
,
VPre
,
VPre
,
VAbv
,
VMAbv
,
VMAbv
,
VMAbv
,
VMAbv
,
VMAbv
,
VMAbv
,
VAbv
,
FM
,
FM
,
O
,
O
,
FBlw
,
/* 1A80 */
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
B
,
O
,
O
,
O
,
O
,
O
,
O
,
...
...
test/shaping/data/in-house/fonts/fd565cabd5208d345d0ed4fda7ae742917d846a5.ttf
0 → 100644
浏览文件 @
125c45ed
文件已添加
test/shaping/data/in-house/tests/use-syllable.tests
浏览文件 @
125c45ed
...
...
@@ -10,3 +10,4 @@
../fonts/28f497629c04ceb15546c9a70e0730125ed6698d.ttf::U+11013,U+11044,U+11046:[brm_KA=0+754|brm_vowelOO=0@-647,0+0|brm_virama=0@-524,0+0]
../fonts/28f497629c04ceb15546c9a70e0730125ed6698d.ttf::U+11013,U+1103C:[brm_KA=0+754|brm_vowelU=0@-403,0+0]
../fonts/86cdd983c4e4c4d7f27dd405d6ceb7d4b9ed3d35.ttf::U+111C8,U+111C9,U+111C9:[u111C8=0+500|u111C9=0@-500,0+0|u111C9=0@-500,0+0]
../fonts/fd565cabd5208d345d0ed4fda7ae742917d846a5.ttf::U+1A3D,U+1A5A,U+1A63:[uni1A3D=0+250|uni1A5A=0+0|uni1A63=0+250]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录