[pango/fix-707: 6/6] Revert "meson.build: Check for GDI and DirectWrite support in HarfBuzz"




commit 22127fbb230b655ce493b497c2db6548f4552a0f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Oct 17 11:30:23 2022 +0800

    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.

 meson.build | 18 ------------------
 1 file changed, 18 deletions(-)
---
diff --git a/meson.build b/meson.build
index d2a201f60..723e0c22a 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]