Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
c1432bce
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,发现更多精彩内容 >>
提交
c1432bce
编写于
7月 14, 2017
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[arabic] Adjust feature order again
Fixes
https://github.com/behdad/harfbuzz/issues/505
上级
9813be3d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
1 deletion
+7
-1
src/hb-ot-shape-complex-arabic.cc
src/hb-ot-shape-complex-arabic.cc
+6
-1
test/shaping/fonts/sha1sum/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf
...onts/sha1sum/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf
+0
-0
test/shaping/tests/arabic-feature-order.tests
test/shaping/tests/arabic-feature-order.tests
+1
-0
未找到文件。
src/hb-ot-shape-complex-arabic.cc
浏览文件 @
c1432bce
...
@@ -199,6 +199,9 @@ collect_features_arabic (hb_ot_shape_planner_t *plan)
...
@@ -199,6 +199,9 @@ collect_features_arabic (hb_ot_shape_planner_t *plan)
* work. However, testing shows that rlig and calt are applied
* work. However, testing shows that rlig and calt are applied
* together for Mongolian in Uniscribe. As such, we only add a
* together for Mongolian in Uniscribe. As such, we only add a
* pause for Arabic, not other scripts.
* pause for Arabic, not other scripts.
*
* A pause after calt is required to make KFGQPC Uthmanic Script HAFS
* work correctly. See https://github.com/behdad/harfbuzz/issues/505
*/
*/
map
->
add_gsub_pause
(
nuke_joiners
);
map
->
add_gsub_pause
(
nuke_joiners
);
...
@@ -222,7 +225,10 @@ collect_features_arabic (hb_ot_shape_planner_t *plan)
...
@@ -222,7 +225,10 @@ collect_features_arabic (hb_ot_shape_planner_t *plan)
if
(
plan
->
props
.
script
==
HB_SCRIPT_ARABIC
)
if
(
plan
->
props
.
script
==
HB_SCRIPT_ARABIC
)
map
->
add_gsub_pause
(
arabic_fallback_shape
);
map
->
add_gsub_pause
(
arabic_fallback_shape
);
/* No pause after rclt. See 98460779bae19e4d64d29461ff154b3527bf8420. */
map
->
add_global_bool_feature
(
HB_TAG
(
'r'
,
'c'
,
'l'
,
't'
));
map
->
add_global_bool_feature
(
HB_TAG
(
'c'
,
'a'
,
'l'
,
't'
));
map
->
add_global_bool_feature
(
HB_TAG
(
'c'
,
'a'
,
'l'
,
't'
));
map
->
add_gsub_pause
(
NULL
);
/* The spec includes 'cswh'. Earlier versions of Windows
/* The spec includes 'cswh'. Earlier versions of Windows
* used to enable this by default, but testing suggests
* used to enable this by default, but testing suggests
...
@@ -232,7 +238,6 @@ collect_features_arabic (hb_ot_shape_planner_t *plan)
...
@@ -232,7 +238,6 @@ collect_features_arabic (hb_ot_shape_planner_t *plan)
* Note that IranNastaliq uses this feature extensively
* Note that IranNastaliq uses this feature extensively
* to fixup broken glyph sequences. Oh well...
* to fixup broken glyph sequences. Oh well...
* Test case: U+0643,U+0640,U+0631. */
* Test case: U+0643,U+0640,U+0631. */
//map->add_gsub_pause (NULL);
//map->add_global_bool_feature (HB_TAG('c','s','w','h'));
//map->add_global_bool_feature (HB_TAG('c','s','w','h'));
map
->
add_global_bool_feature
(
HB_TAG
(
'm'
,
's'
,
'e'
,
't'
));
map
->
add_global_bool_feature
(
HB_TAG
(
'm'
,
's'
,
'e'
,
't'
));
}
}
...
...
test/shaping/fonts/sha1sum/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf
0 → 100644
浏览文件 @
c1432bce
文件已添加
test/shaping/tests/arabic-feature-order.tests
浏览文件 @
c1432bce
fonts/sha1sum/813c2f8e5512187fd982417a7fb4286728e6f4a8.ttf::U+1820,U+180B:[uni2048.E81A=0+1550]
fonts/sha1sum/813c2f8e5512187fd982417a7fb4286728e6f4a8.ttf::U+1820,U+180B:[uni2048.E81A=0+1550]
fonts/sha1sum/8a9fea2a7384f2116e5b84a9b31f83be7850ce21.ttf::U+1820,U+180B:[uni2048.E81A=0+1550]
fonts/sha1sum/8a9fea2a7384f2116e5b84a9b31f83be7850ce21.ttf::U+1820,U+180B:[uni2048.E81A=0+1550]
fonts/sha1sum/a919b33197965846f21074b24e30250d67277bce.ttf::U+0644,U+0644,U+0647:[Lellah=0+1503]
fonts/sha1sum/a919b33197965846f21074b24e30250d67277bce.ttf::U+0644,U+0644,U+0647:[Lellah=0+1503]
fonts/sha1sum/bf39b0e91ef9807f15a9e283a21a14a209fd2cfc.ttf::U+0644,U+064E,U+0670,U+0653,U+0626:[afii57414.zz04=4+1202|uni0670_uni0653=0@50,350+0|afii57454=0@550,1425+0|afii57444.calt=0+1065]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录