Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
0dc03ef7
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
接近 2 年 前同步成功
通知
1
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看板
提交
0dc03ef7
编写于
12月 05, 2017
作者:
N
Nathan Willis
提交者:
Behdad Esfahbod
12月 05, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Indic: always hyphenate pre-base-reordering, for clarity.
上级
be59f3cb
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
src/hb-ot-shape-complex-indic.cc
src/hb-ot-shape-complex-indic.cc
+8
-8
未找到文件。
src/hb-ot-shape-complex-indic.cc
浏览文件 @
0dc03ef7
...
...
@@ -714,7 +714,7 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
* following algorithm: starting from the end of the syllable, move backwards
* until a consonant is found that does not have a below-base or post-base
* form (post-base forms have to follow below-base forms), or that is not a
* pre-base
reordering Ra, or arrive at the first consonant. The consonant
* pre-base
-
reordering Ra, or arrive at the first consonant. The consonant
* stopped at will be the base.
*
* o If the syllable starts with Ra + Halant (in a script that has Reph)
...
...
@@ -785,11 +785,11 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
if
(
info
[
i
].
indic_position
()
==
POS_BELOW_C
)
seen_below
=
true
;
/* -> or that is not a pre-base
reordering Ra,
/* -> or that is not a pre-base
-
reordering Ra,
*
* IMPLEMENTATION NOTES:
*
* Our pre-base
reordering Ra's are marked POS_POST_C, so will be skipped
* Our pre-base
-
reordering Ra's are marked POS_POST_C, so will be skipped
* by the logic above already.
*/
...
...
@@ -1124,7 +1124,7 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
unsigned
int
pref_len
=
2
;
if
(
indic_plan
->
mask_array
[
PREF
]
&&
base
+
pref_len
<
end
)
{
/* Find a Halant,Ra sequence and mark it for pre-base
reordering processing. */
/* Find a Halant,Ra sequence and mark it for pre-base
-
reordering processing. */
for
(
unsigned
int
i
=
base
+
1
;
i
+
pref_len
-
1
<
end
;
i
++
)
{
hb_codepoint_t
glyphs
[
2
];
for
(
unsigned
int
j
=
0
;
j
<
pref_len
;
j
++
)
...
...
@@ -1518,7 +1518,7 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
/* 3. If reph should be repositioned after the main consonant: find the
* first consonant not ligated with main, or find the first
* consonant that is not a potential pre-base
reordering Ra.
* consonant that is not a potential pre-base
-
reordering Ra.
*/
if
(
reph_pos
==
REPH_POS_AFTER_MAIN
)
{
...
...
@@ -1607,13 +1607,13 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
}
/* o Reorder pre-base
reordering consonants:
/* o Reorder pre-base
-
reordering consonants:
*
* If a pre-base
reordering consonant is found, reorder it according to
* If a pre-base
-
reordering consonant is found, reorder it according to
* the following rules:
*/
if
(
try_pref
&&
base
+
1
<
end
)
/* Otherwise there can't be any pre-base
reordering Ra. */
if
(
try_pref
&&
base
+
1
<
end
)
/* Otherwise there can't be any pre-base
-
reordering Ra. */
{
for
(
unsigned
int
i
=
base
+
1
;
i
<
end
;
i
++
)
if
((
info
[
i
].
mask
&
indic_plan
->
mask_array
[
PREF
])
!=
0
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录