Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
1e8fdd28
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看板
提交
1e8fdd28
编写于
10月 10, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove HAVE_OT
We never tested compiling without it. Just kill it. We always build our own shaper.
上级
7727e737
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
2 addition
and
30 deletion
+2
-30
CMakeLists.txt
CMakeLists.txt
+0
-1
configure.ac
configure.ac
+0
-6
src/Makefile.am
src/Makefile.am
+0
-2
src/hb-shaper-list.hh
src/hb-shaper-list.hh
+0
-2
src/hb.hh
src/hb.hh
+0
-2
test/api/Makefile.am
test/api/Makefile.am
+1
-3
test/api/test-c.c
test/api/test-c.c
+1
-4
util/Makefile.am
util/Makefile.am
+0
-4
util/options.cc
util/options.cc
+0
-4
util/options.hh
util/options.hh
+0
-2
未找到文件。
CMakeLists.txt
浏览文件 @
1e8fdd28
...
...
@@ -97,7 +97,6 @@ include_directories(AFTER
${
PROJECT_BINARY_DIR
}
/src
)
add_definitions
(
-DHAVE_OT
)
add_definitions
(
-DHAVE_FALLBACK
)
# We need PYTHON_EXECUTABLE to be set for running the tests...
...
...
configure.ac
浏览文件 @
1e8fdd28
...
...
@@ -148,12 +148,6 @@ AM_CONDITIONAL(HAVE_PTHREAD, $have_pthread)
dnl ==========================================================================
have_ot=true
if $have_ot; then
AC_DEFINE(HAVE_OT, 1, [Have native OpenType Layout backend])
fi
AM_CONDITIONAL(HAVE_OT, $have_ot)
have_fallback=true
if $have_fallback; then
AC_DEFINE(HAVE_FALLBACK, 1, [Have simple TrueType Layout backend])
...
...
src/Makefile.am
浏览文件 @
1e8fdd28
...
...
@@ -29,11 +29,9 @@ HBSOURCES = $(HB_BASE_sources)
HBSOURCES
+=
$(HB_BASE_RAGEL_GENERATED_sources)
HBHEADERS
=
$(HB_BASE_headers)
if
HAVE_OT
HBSOURCES
+=
$(HB_OT_sources)
HBSOURCES
+=
$(HB_OT_RAGEL_GENERATED_sources)
HBHEADERS
+=
$(HB_OT_headers)
endif
if
HAVE_FALLBACK
HBSOURCES
+=
$(HB_FALLBACK_sources)
...
...
src/hb-shaper-list.hh
浏览文件 @
1e8fdd28
...
...
@@ -39,9 +39,7 @@ HB_SHAPER_IMPLEMENT (graphite2)
HB_SHAPER_IMPLEMENT
(
coretext_aat
)
#endif
#ifdef HAVE_OT
HB_SHAPER_IMPLEMENT
(
ot
)
/* <--- This is our main OpenType shaper. */
#endif
#ifdef HAVE_UNISCRIBE
HB_SHAPER_IMPLEMENT
(
uniscribe
)
...
...
src/hb.hh
浏览文件 @
1e8fdd28
...
...
@@ -45,10 +45,8 @@
#include "hb.h"
#define HB_H_IN
#ifdef HAVE_OT
#include "hb-ot.h"
#define HB_OT_H_IN
#endif
#include <math.h>
#include <stdlib.h>
...
...
test/api/Makefile.am
浏览文件 @
1e8fdd28
...
...
@@ -69,13 +69,12 @@ test_unicode_LDADD += $(top_builddir)/src/libharfbuzz-icu.la $(ICU_LIBS)
endif
if
HAVE_OT
TEST_PROGS
+=
\
test-ot-color
\
test-ot-tag
\
$(NULL)
if
HAVE_PTHREAD
if
HAVE_FREETYPE
TEST_PROGS
+=
test-multithread
...
...
@@ -95,7 +94,6 @@ test_ot_math_LDADD = $(LDADD) $(FREETYPE_LIBS)
test_ot_math_CPPFLAGS
=
$(AM_CPPFLAGS)
$(FREETYPE_CFLAGS)
endif
# HAVE_FREETYPE
endif
# HAVE_OT
# Tests for header compilation
TEST_PROGS
+=
\
...
...
test/api/test-c.c
浏览文件 @
1e8fdd28
...
...
@@ -32,6 +32,7 @@
#endif
#include <hb.h>
#include <hb-ot.h>
#ifdef HAVE_GLIB
#include <hb-glib.h>
...
...
@@ -45,10 +46,6 @@
#include <hb-ft.h>
#endif
#ifdef HAVE_OT
#include <hb-ot.h>
#endif
#ifdef HAVE_UNISCRIBE
#include <hb-uniscribe.h>
#endif
...
...
util/Makefile.am
浏览文件 @
1e8fdd28
...
...
@@ -52,14 +52,11 @@ hb_subset_LDADD = \
$(top_builddir)
/src/libharfbuzz-subset.la
bin_PROGRAMS
+=
hb-subset
if
HAVE_OT
hb_ot_shape_closure_SOURCES
=
$(HB_OT_SHAPE_CLOSURE_sources)
bin_PROGRAMS
+=
hb-ot-shape-closure
endif
# HAVE_OT
endif
# HAVE_GLIB
#if HAVE_OT
#if HAVE_FONTCONFIG
#hb_fc_list_SOURCES = \
# hb-fc.cc \
...
...
@@ -72,6 +69,5 @@ endif # HAVE_GLIB
# $(NULL)
#bin_PROGRAMS += hb-fc-list
#endif # HAVE_FONTCONFIG
#endif # HAVE_OT
-include
$(top_srcdir)/git.mk
util/options.cc
浏览文件 @
1e8fdd28
...
...
@@ -29,9 +29,7 @@
#ifdef HAVE_FREETYPE
#include <hb-ft.h>
#endif
#ifdef HAVE_OT
#include <hb-ot.h>
#endif
static
struct
supported_font_funcs_t
{
char
name
[
4
];
...
...
@@ -41,9 +39,7 @@ static struct supported_font_funcs_t {
#ifdef HAVE_FREETYPE
{
"ft"
,
hb_ft_font_set_funcs
},
#endif
#ifdef HAVE_OT
{
"ot"
,
hb_ot_font_set_funcs
},
#endif
};
...
...
util/options.hh
浏览文件 @
1e8fdd28
...
...
@@ -46,9 +46,7 @@
#endif
#include <hb.h>
#ifdef HAVE_OT
#include <hb-ot.h>
#endif
#include <glib.h>
#include <glib/gprintf.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录