[pango/hb-coretext] Enable coretext for the harfbuzz subproject
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/hb-coretext] Enable coretext for the harfbuzz subproject
- Date: Mon, 4 Jan 2021 01:55:44 +0000 (UTC)
commit b3ea7d84caae3889db1041bdff66528f936d5001
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 3 20:52:58 2021 -0500
Enable coretext for the harfbuzz subproject
On OS X, we need hb_coretext_font_create,
so pass coretext=enabled to harfbuzz.
.gitlab-ci.yml | 1 -
meson.build | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 428b3ff6..9b64061a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,7 +94,6 @@ macos:
- meson -Dintrospection=disabled
-Dcpp_std=c++11
-Dpixman:tests=disabled
- -Dharfbuzz:coretext=enabled
_build
- ninja -C _build
artifacts:
diff --git a/meson.build b/meson.build
index aa537940..6b99b400 100644
--- a/meson.build
+++ b/meson.build
@@ -239,7 +239,8 @@ fontconfig_pc=''
harfbuzz_lib=''
fontconfig_lib=''
-harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version, required: false)
+harfbuzz_dep = dependency('harfbuzz', version: harfbuzz_req_version,
+ required: false, default_options: ['coretext=enabled'])
if harfbuzz_dep.found()
harfbuzz_pc = 'harfbuzz'
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]