Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
ae9e8f29
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看板
提交
ae9e8f29
编写于
10月 24, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[vowel-constraints] Reset continuation on all dottedcircles
One of the was missed before. Not intentional.
上级
d2b20ba1
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
4 deletion
+14
-4
src/gen-vowel-constraints.py
src/gen-vowel-constraints.py
+7
-2
src/hb-ot-shape-complex-vowel-constraints.cc
src/hb-ot-shape-complex-vowel-constraints.cc
+7
-2
未找到文件。
src/gen-vowel-constraints.py
浏览文件 @
ae9e8f29
...
@@ -104,7 +104,7 @@ class ConstraintSet (object):
...
@@ -104,7 +104,7 @@ class ConstraintSet (object):
s
.
append
(
'{}{{
\n
'
.
format
(
indent
))
s
.
append
(
'{}{{
\n
'
.
format
(
indent
))
for
i
in
range
(
len
(
self
.
_c
)):
for
i
in
range
(
len
(
self
.
_c
)):
s
.
append
(
'{}buffer->next_glyph ();
\n
'
.
format
(
self
.
_indent
(
depth
+
1
)))
s
.
append
(
'{}buffer->next_glyph ();
\n
'
.
format
(
self
.
_indent
(
depth
+
1
)))
s
.
append
(
'{}
buffer->output_glyph (0x25CCu
);
\n
'
.
format
(
self
.
_indent
(
depth
+
1
)))
s
.
append
(
'{}
_output_dotted_circle (buffer
);
\n
'
.
format
(
self
.
_indent
(
depth
+
1
)))
s
.
append
(
'{}}}
\n
'
.
format
(
indent
))
s
.
append
(
'{}}}
\n
'
.
format
(
indent
))
else
:
else
:
s
.
append
(
'{}switch (buffer->cur ({}).codepoint)
\n
'
.
format
(
indent
,
index
or
''
))
s
.
append
(
'{}switch (buffer->cur ({}).codepoint)
\n
'
.
format
(
indent
,
index
or
''
))
...
@@ -161,11 +161,16 @@ print ()
...
@@ -161,11 +161,16 @@ print ()
print
(
'#include "hb-ot-shape-complex-vowel-constraints.hh"'
)
print
(
'#include "hb-ot-shape-complex-vowel-constraints.hh"'
)
print
()
print
()
print
(
'static void'
)
print
(
'static void'
)
print
(
'_output_
with_
dotted_circle (hb_buffer_t *buffer)'
)
print
(
'_output_dotted_circle (hb_buffer_t *buffer)'
)
print
(
'{'
)
print
(
'{'
)
print
(
' hb_glyph_info_t &dottedcircle = buffer->output_glyph (0x25CCu);'
)
print
(
' hb_glyph_info_t &dottedcircle = buffer->output_glyph (0x25CCu);'
)
print
(
' _hb_glyph_info_reset_continuation (&dottedcircle);'
)
print
(
' _hb_glyph_info_reset_continuation (&dottedcircle);'
)
print
(
'}'
)
print
()
print
()
print
(
'static void'
)
print
(
'_output_with_dotted_circle (hb_buffer_t *buffer)'
)
print
(
'{'
)
print
(
' _output_dotted_circle (buffer);'
)
print
(
' buffer->next_glyph ();'
)
print
(
' buffer->next_glyph ();'
)
print
(
'}'
)
print
(
'}'
)
print
()
print
()
...
...
src/hb-ot-shape-complex-vowel-constraints.cc
浏览文件 @
ae9e8f29
...
@@ -16,11 +16,16 @@
...
@@ -16,11 +16,16 @@
#include "hb-ot-shape-complex-vowel-constraints.hh"
#include "hb-ot-shape-complex-vowel-constraints.hh"
static
void
static
void
_output_
with_
dotted_circle
(
hb_buffer_t
*
buffer
)
_output_dotted_circle
(
hb_buffer_t
*
buffer
)
{
{
hb_glyph_info_t
&
dottedcircle
=
buffer
->
output_glyph
(
0x25CCu
);
hb_glyph_info_t
&
dottedcircle
=
buffer
->
output_glyph
(
0x25CCu
);
_hb_glyph_info_reset_continuation
(
&
dottedcircle
);
_hb_glyph_info_reset_continuation
(
&
dottedcircle
);
}
static
void
_output_with_dotted_circle
(
hb_buffer_t
*
buffer
)
{
_output_dotted_circle
(
buffer
);
buffer
->
next_glyph
();
buffer
->
next_glyph
();
}
}
...
@@ -83,7 +88,7 @@ _hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan,
...
@@ -83,7 +88,7 @@ _hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan,
{
{
buffer
->
next_glyph
();
buffer
->
next_glyph
();
buffer
->
next_glyph
();
buffer
->
next_glyph
();
buffer
->
output_glyph
(
0x25CCu
);
_output_dotted_circle
(
buffer
);
}
}
break
;
break
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录