Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
4206e951
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看板
提交
4206e951
编写于
4月 23, 2010
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More warning fixes
上级
ef66ebea
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
23 deletion
+22
-23
src/hb-ot-layout.cc
src/hb-ot-layout.cc
+2
-2
src/hb-ot-shape.c
src/hb-ot-shape.c
+4
-5
src/hb-shape.c
src/hb-shape.c
+16
-16
未找到文件。
src/hb-ot-layout.cc
浏览文件 @
4206e951
...
...
@@ -595,8 +595,8 @@ hb_ot_layout_position_lookup (hb_font_t *font,
}
void
hb_ot_layout_position_finish
(
hb_font_t
*
font
,
hb_face_t
*
face
,
hb_ot_layout_position_finish
(
hb_font_t
*
font
HB_GNUC_UNUSED
,
hb_face_t
*
face
HB_GNUC_UNUSED
,
hb_buffer_t
*
buffer
)
{
unsigned
int
i
,
j
;
...
...
src/hb-ot-shape.c
浏览文件 @
4206e951
...
...
@@ -68,8 +68,7 @@ cmp_lookups (const void *p1, const void *p2)
}
static
void
setup_lookups
(
hb_font_t
*
font
,
hb_face_t
*
face
,
setup_lookups
(
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
unsigned
int
num_features
,
...
...
@@ -115,7 +114,7 @@ setup_lookups (hb_font_t *font,
hb_bool_t
_hb_ot_substitute_complex
(
hb_font_t
*
font
,
_hb_ot_substitute_complex
(
hb_font_t
*
font
HB_GNUC_UNUSED
,
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
...
...
@@ -128,7 +127,7 @@ _hb_ot_substitute_complex (hb_font_t *font,
if
(
!
hb_ot_layout_has_substitution
(
face
))
return
FALSE
;
setup_lookups
(
f
ont
,
f
ace
,
buffer
,
features
,
num_features
,
setup_lookups
(
face
,
buffer
,
features
,
num_features
,
HB_OT_TAG_GSUB
,
lookups
,
&
num_lookups
);
...
...
@@ -152,7 +151,7 @@ _hb_ot_position_complex (hb_font_t *font,
if
(
!
hb_ot_layout_has_positioning
(
face
))
return
FALSE
;
setup_lookups
(
f
ont
,
f
ace
,
buffer
,
features
,
num_features
,
setup_lookups
(
face
,
buffer
,
features
,
num_features
,
HB_OT_TAG_GPOS
,
lookups
,
&
num_lookups
);
...
...
src/hb-shape.c
浏览文件 @
4206e951
...
...
@@ -113,8 +113,8 @@ static void
hb_substitute_default
(
hb_font_t
*
font
,
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
unsigned
int
num_features
)
hb_feature_t
*
features
HB_GNUC_UNUSED
,
unsigned
int
num_features
HB_GNUC_UNUSED
)
{
hb_mirror_chars
(
buffer
);
hb_map_glyphs
(
font
,
face
,
buffer
);
...
...
@@ -131,11 +131,11 @@ hb_substitute_complex (hb_font_t *font,
}
static
void
hb_substitute_fallback
(
hb_font_t
*
font
,
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
unsigned
int
num_features
)
hb_substitute_fallback
(
hb_font_t
*
font
HB_GNUC_UNUSED
,
hb_face_t
*
face
HB_GNUC_UNUSED
,
hb_buffer_t
*
buffer
HB_GNUC_UNUSED
,
hb_feature_t
*
features
HB_GNUC_UNUSED
,
unsigned
int
num_features
HB_GNUC_UNUSED
)
{
/* TODO Arabic */
}
...
...
@@ -147,8 +147,8 @@ static void
hb_position_default
(
hb_font_t
*
font
,
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
unsigned
int
num_features
)
hb_feature_t
*
features
HB_GNUC_UNUSED
,
unsigned
int
num_features
HB_GNUC_UNUSED
)
{
unsigned
int
count
;
...
...
@@ -174,11 +174,11 @@ hb_position_complex (hb_font_t *font,
}
static
void
hb_position_fallback
(
hb_font_t
*
font
,
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
unsigned
int
num_features
)
hb_position_fallback
(
hb_font_t
*
font
HB_GNUC_UNUSED
,
hb_face_t
*
face
HB_GNUC_UNUSED
,
hb_buffer_t
*
buffer
HB_GNUC_UNUSED
,
hb_feature_t
*
features
HB_GNUC_UNUSED
,
unsigned
int
num_features
HB_GNUC_UNUSED
)
{
/* TODO Mark pos */
}
...
...
@@ -187,8 +187,8 @@ static void
hb_truetype_kern
(
hb_font_t
*
font
,
hb_face_t
*
face
,
hb_buffer_t
*
buffer
,
hb_feature_t
*
features
,
unsigned
int
num_features
)
hb_feature_t
*
features
HB_GNUC_UNUSED
,
unsigned
int
num_features
HB_GNUC_UNUSED
)
{
unsigned
int
count
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录