[pango/pango2-windows] build: Fix HarfBuzz fallback for Windows
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2-windows] build: Fix HarfBuzz fallback for Windows
- Date: Thu, 16 Jun 2022 02:35:34 +0000 (UTC)
commit f2e56b1a7a52e9d30a7a18dfd27362ffc084d4db
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 16 10:32:02 2022 +0800
build: Fix HarfBuzz fallback for Windows
In order to build with DirectWrite support, HarfBuzz must also be built
with DirectWrite support, which is disabled by default. Tell the
fallback build to look for DirectWrite and enabled it as a result-it
should be sufficiently present for Visual Studio with the Windows 8.0
SDK, and we are likely using a Windows 10 SDK since we require Visual
Studio 2015 or later for MSVC builds.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 51e40c9a..bac47f3c 100644
--- a/meson.build
+++ b/meson.build
@@ -277,7 +277,7 @@ harfbuzz_dep = dependency('harfbuzz',
version: harfbuzz_req_version,
required: true,
fallback: ['harfbuzz', 'libharfbuzz_dep'],
- default_options: ['coretext=enabled', 'werror=false', 'docs=disabled'])
+ default_options: ['coretext=enabled', 'directwrite=auto', 'werror=false',
'docs=disabled'])
harfbuzz_gobj_dep = dependency('harfbuzz-gobject',
version: harfbuzz_req_version,
required: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]