Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
a981d798
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,发现更多精彩内容 >>
提交
a981d798
编写于
2月 10, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix more build issues
Hopefully most bots come back with this...
上级
6c4ca613
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
20 addition
and
10 deletion
+20
-10
src/check-libstdc++.sh
src/check-libstdc++.sh
+3
-2
src/check-symbols.sh
src/check-symbols.sh
+1
-1
src/hb-buffer.h
src/hb-buffer.h
+0
-1
src/hb-gobject-structs.h
src/hb-gobject-structs.h
+6
-0
src/hb-subset-plan.cc
src/hb-subset-plan.cc
+7
-3
src/hb-subset.cc
src/hb-subset.cc
+3
-3
未找到文件。
src/check-libstdc++.sh
浏览文件 @
a981d798
...
@@ -21,12 +21,13 @@ else
...
@@ -21,12 +21,13 @@ else
fi
fi
tested
=
false
tested
=
false
for
soname
in
harfbuzz harfbuzz-icu harfbuzz-subset
;
do
# harfbuzz-icu links to libstdc++ because icu does.
for
soname
in
harfbuzz harfbuzz-subset harfbuzz-gobject
;
do
for
suffix
in
so dylib
;
do
for
suffix
in
so dylib
;
do
so
=
$libs
/lib
$soname
.
$suffix
so
=
$libs
/lib
$soname
.
$suffix
if
!
test
-f
"
$so
"
;
then continue
;
fi
if
!
test
-f
"
$so
"
;
then continue
;
fi
echo
"Checking that we are not linking to libstdc++ or libc++"
echo
"Checking that we are not linking to libstdc++ or libc++
in
$so
"
if
$LDD
$so
|
grep
'libstdc[+][+]\|libc[+][+]'
;
then
if
$LDD
$so
|
grep
'libstdc[+][+]\|libc[+][+]'
;
then
echo
"Ouch, linked to libstdc++ or libc++"
echo
"Ouch, linked to libstdc++ or libc++"
stat
=
1
stat
=
1
...
...
src/check-symbols.sh
浏览文件 @
a981d798
...
@@ -17,7 +17,7 @@ fi
...
@@ -17,7 +17,7 @@ fi
echo
"Checking that we are not exposing internal symbols"
echo
"Checking that we are not exposing internal symbols"
tested
=
false
tested
=
false
for
soname
in
harfbuzz harfbuzz-
icu harfbuzz-subse
t
;
do
for
soname
in
harfbuzz harfbuzz-
subset harfbuzz-icu harfbuzz-gobjec
t
;
do
for
suffix
in
so dylib
;
do
for
suffix
in
so dylib
;
do
so
=
$libs
/lib
$soname
.
$suffix
so
=
$libs
/lib
$soname
.
$suffix
if
!
test
-f
"
$so
"
;
then continue
;
fi
if
!
test
-f
"
$so
"
;
then continue
;
fi
...
...
src/hb-buffer.h
浏览文件 @
a981d798
...
@@ -92,7 +92,6 @@ typedef struct hb_glyph_info_t {
...
@@ -92,7 +92,6 @@ typedef struct hb_glyph_info_t {
typedef
enum
{
/*< flags >*/
typedef
enum
{
/*< flags >*/
HB_GLYPH_FLAG_UNSAFE_TO_BREAK
=
0x00000001
,
HB_GLYPH_FLAG_UNSAFE_TO_BREAK
=
0x00000001
,
/*< private >*/
HB_GLYPH_FLAG_DEFINED
=
0x00000001
/* OR of all defined flags */
HB_GLYPH_FLAG_DEFINED
=
0x00000001
/* OR of all defined flags */
}
hb_glyph_flags_t
;
}
hb_glyph_flags_t
;
...
...
src/hb-gobject-structs.h
浏览文件 @
a981d798
...
@@ -111,6 +111,12 @@ HB_EXTERN GType hb_gobject_segment_properties_get_type (void);
...
@@ -111,6 +111,12 @@ HB_EXTERN GType hb_gobject_segment_properties_get_type (void);
HB_EXTERN
GType
hb_gobject_user_data_key_get_type
(
void
);
HB_EXTERN
GType
hb_gobject_user_data_key_get_type
(
void
);
#define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_user_data_key_get_type ())
#define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_user_data_key_get_type ())
HB_EXTERN
GType
hb_gobject_ot_math_glyph_variant_get_type
(
void
);
#define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_ot_math_glyph_variant_get_type ())
HB_EXTERN
GType
hb_gobject_ot_math_glyph_part_get_type
(
void
);
#define HB_GOBJECT_TYPE_USER_DATA_KEY (hb_gobject_ot_math_glyph_part_get_type ())
HB_END_DECLS
HB_END_DECLS
...
...
src/hb-subset-plan.cc
浏览文件 @
a981d798
...
@@ -29,9 +29,13 @@
...
@@ -29,9 +29,13 @@
#include "hb-subset-plan.hh"
#include "hb-subset-plan.hh"
#include "hb-ot-cmap-table.hh"
#include "hb-ot-cmap-table.hh"
HB_INTERNAL
int
static
int
_hb_codepoint_t_cmp
(
const
void
*
l
,
const
void
*
r
)
{
_hb_codepoint_t_cmp
(
const
void
*
pa
,
const
void
*
pb
)
return
*
((
hb_codepoint_t
*
)
l
)
-
*
((
hb_codepoint_t
*
)
r
);
{
hb_codepoint_t
a
=
*
(
hb_codepoint_t
*
)
pa
;
hb_codepoint_t
b
=
*
(
hb_codepoint_t
*
)
pb
;
return
a
<
b
?
-
1
:
a
>
b
?
+
1
:
0
;
}
}
hb_bool_t
hb_bool_t
...
...
src/hb-subset.cc
浏览文件 @
a981d798
...
@@ -251,7 +251,7 @@ hb_subset_face_add_table (hb_face_t *face, hb_tag_t tag, hb_blob_t *blob)
...
@@ -251,7 +251,7 @@ hb_subset_face_add_table (hb_face_t *face, hb_tag_t tag, hb_blob_t *blob)
return
true
;
return
true
;
}
}
HB_INTERNAL
bool
static
bool
_add_head_and_set_loca_version
(
hb_face_t
*
source
,
bool
use_short_loca
,
hb_face_t
*
dest
)
_add_head_and_set_loca_version
(
hb_face_t
*
source
,
bool
use_short_loca
,
hb_face_t
*
dest
)
{
{
hb_blob_t
*
head_blob
=
OT
::
Sanitizer
<
OT
::
head
>
().
sanitize
(
hb_face_reference_table
(
source
,
HB_OT_TAG_head
));
hb_blob_t
*
head_blob
=
OT
::
Sanitizer
<
OT
::
head
>
().
sanitize
(
hb_face_reference_table
(
source
,
HB_OT_TAG_head
));
...
@@ -278,7 +278,7 @@ _add_head_and_set_loca_version (hb_face_t *source, bool use_short_loca, hb_face_
...
@@ -278,7 +278,7 @@ _add_head_and_set_loca_version (hb_face_t *source, bool use_short_loca, hb_face_
return
has_head
;
return
has_head
;
}
}
HB_INTERNAL
bool
static
bool
_subset_glyf
(
hb_subset_plan_t
*
plan
,
hb_face_t
*
source
,
hb_face_t
*
dest
)
_subset_glyf
(
hb_subset_plan_t
*
plan
,
hb_face_t
*
source
,
hb_face_t
*
dest
)
{
{
hb_blob_t
*
glyf_prime
=
nullptr
;
hb_blob_t
*
glyf_prime
=
nullptr
;
...
@@ -300,7 +300,7 @@ _subset_glyf (hb_subset_plan_t *plan, hb_face_t *source, hb_face_t *dest)
...
@@ -300,7 +300,7 @@ _subset_glyf (hb_subset_plan_t *plan, hb_face_t *source, hb_face_t *dest)
return
success
;
return
success
;
}
}
HB_INTERNAL
bool
static
bool
_subset_table
(
hb_subset_plan_t
*
plan
,
_subset_table
(
hb_subset_plan_t
*
plan
,
hb_face_t
*
source
,
hb_face_t
*
source
,
hb_tag_t
tag
,
hb_tag_t
tag
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录