diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-10-17 11:30:23 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-10-17 11:30:23 +0800 |
commit | 22127fbb230b655ce493b497c2db6548f4552a0f (patch) | |
tree | a14e6b91cd1cac22403d0af2fc1193ed388f26a8 | |
parent | 15e31e915d6cd86028350dcf18602f9b212fabd7 (diff) | |
download | pango-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.build | 18 |
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 |