summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-10-17 11:30:23 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-10-17 11:30:23 +0800
commit22127fbb230b655ce493b497c2db6548f4552a0f (patch)
treea14e6b91cd1cac22403d0af2fc1193ed388f26a8
parent15e31e915d6cd86028350dcf18602f9b212fabd7 (diff)
downloadpango-22127fbb230b655ce493b497c2db6548f4552a0f.tar.gz
Revert "meson.build: Check for GDI and DirectWrite support in HarfBuzz"
This caused issues when buliding HarfBuzz as a fallback subproject, as mentioned in issue #707, so don't use platform APIs in HarfBuzz on Windows as a result. This reverts commit 3ab3e076665d0722d6f12938f3bddf263322539b.
-rw-r--r--meson.build18
1 files changed, 0 insertions, 18 deletions
diff --git a/meson.build b/meson.build
index d2a201f6..723e0c22 100644
--- a/meson.build
+++ b/meson.build
@@ -251,24 +251,6 @@ harfbuzz_dep = dependency('harfbuzz',
fallback: ['harfbuzz', 'libharfbuzz_dep'],
default_options: ['coretext=enabled'])
-if host_system == 'windows'
- if cpp.has_header_symbol(
- 'hb-directwrite.h',
- 'hb_directwrite_face_create',
- dependencies: harfbuzz_dep,
- prefix: '#include <dwrite.h>',
- )
- pango_conf.set('HAVE_HARFBUZZ_DIRECT_WRITE', 1)
- endif
- if cc.has_header_symbol(
- 'hb-gdi.h',
- 'hb_gdi_face_create',
- dependencies: harfbuzz_dep,
- )
- pango_conf.set('HAVE_HARFBUZZ_GDI', 1)
- endif
-endif
-
pango_deps += harfbuzz_dep
# If option is 'auto' or 'enabled' it is not required to find fontconfig on the