Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
25f52f58
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看板
提交
25f52f58
编写于
11月 22, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[myanmar] Remove myanmar_old shaper
Over time it has become the same as default shaper. So, remove.
上级
eeed802b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
1 addition
and
24 deletion
+1
-24
src/hb-ot-shape-complex-myanmar.cc
src/hb-ot-shape-complex-myanmar.cc
+0
-21
src/hb-ot-shape-complex.hh
src/hb-ot-shape-complex.hh
+1
-3
未找到文件。
src/hb-ot-shape-complex-myanmar.cc
浏览文件 @
25f52f58
...
...
@@ -391,27 +391,6 @@ const hb_ot_complex_shaper_t _hb_ot_complex_shaper_myanmar =
};
/* Uniscribe seems to have a shaper for 'mymr' that is like the
* generic shaper, except that it zeros mark advances GDEF_LATE. */
const
hb_ot_complex_shaper_t
_hb_ot_complex_shaper_myanmar_old
=
{
nullptr
,
/* collect_features */
nullptr
,
/* override_features */
nullptr
,
/* data_create */
nullptr
,
/* data_destroy */
nullptr
,
/* preprocess_text */
nullptr
,
/* postprocess_glyphs */
HB_OT_SHAPE_NORMALIZATION_MODE_DEFAULT
,
nullptr
,
/* decompose */
nullptr
,
/* compose */
nullptr
,
/* setup_masks */
HB_TAG_NONE
,
/* gpos_tag */
nullptr
,
/* reorder_marks */
HB_OT_SHAPE_ZERO_WIDTH_MARKS_BY_GDEF_LATE
,
true
,
/* fallback_position */
};
/* Ugly Zawgyi encoding.
* Disable all auto processing.
* https://github.com/harfbuzz/harfbuzz/issues/1162 */
...
...
src/hb-ot-shape-complex.hh
浏览文件 @
25f52f58
...
...
@@ -57,7 +57,6 @@ enum hb_ot_shape_zero_width_marks_type_t {
HB_COMPLEX_SHAPER_IMPLEMENT (indic) \
HB_COMPLEX_SHAPER_IMPLEMENT (khmer) \
HB_COMPLEX_SHAPER_IMPLEMENT (myanmar) \
HB_COMPLEX_SHAPER_IMPLEMENT (myanmar_old) \
HB_COMPLEX_SHAPER_IMPLEMENT (myanmar_zawgyi) \
HB_COMPLEX_SHAPER_IMPLEMENT (thai) \
HB_COMPLEX_SHAPER_IMPLEMENT (use) \
...
...
@@ -271,8 +270,6 @@ hb_ot_shape_complex_categorize (const hb_ot_shape_planner_t *planner)
case
HB_SCRIPT_MYANMAR
:
if
(
planner
->
map
.
chosen_script
[
0
]
==
HB_TAG
(
'm'
,
'y'
,
'm'
,
'2'
))
return
&
_hb_ot_complex_shaper_myanmar
;
else
if
(
planner
->
map
.
chosen_script
[
0
]
==
HB_TAG
(
'm'
,
'y'
,
'm'
,
'r'
))
return
&
_hb_ot_complex_shaper_myanmar_old
;
else
return
&
_hb_ot_complex_shaper_default
;
...
...
@@ -378,6 +375,7 @@ hb_ot_shape_complex_categorize (const hb_ot_shape_planner_t *planner)
/* https://github.com/harfbuzz/harfbuzz/issues/1162 */
case
HB_SCRIPT_MYANMAR_ZAWGYI
:
return
&
_hb_ot_complex_shaper_myanmar_zawgyi
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录