Needed for pango_win32_font_logfont() from gtkimcontextime.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
if win32_enabled
gtk_cargs += ['-DGTK_PRINT_BACKENDS="file,lpr"']
- gtk_deps += [ giowin32_dep ]
+ gtk_deps += [ giowin32_dep, pangowin32_dep ]
+
gtk_deps += [cc.find_library('advapi32'),
cc.find_library('comctl32'),
cc.find_library('dwmapi'),
endif
endif
+if win32_enabled
+ # for GTK_IM_CONTEXT_IME
+ pangowin32_dep = dependency('pangowin32')
+endif
+
pangocairo_dep = dependency('pangocairo', version: cairo_req,
fallback : ['pango', 'libpangocairo_dep'])
pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req,