--- configure.orig	2021-04-13 17:26:11.000000000 -0600
+++ configure	2021-04-13 17:29:04.000000000 -0600
@@ -12795,10 +12795,10 @@
   LDFLAGS="$LDFLAGS --coverage"
 fi
 
-CAIRO_LIBS="`pkg-config --libs cairo `"
-CAIRO_CFLAGS="`pkg-config --cflags cairo `"
+CAIRO_LIBS="`pkg-config --libs cairo pangoft2`"
+CAIRO_CFLAGS="`pkg-config --cflags cairo pangoft2`"
 cairo_info="`pkg-config --modversion cairo ` (system)"
-GDIPLUS_PKG_REQ="cairo"
+GDIPLUS_PKG_REQ="cairo pangoft2"
 
 PANGO_REQUIRED_VERSION="1.40.14"
 PANGO_MAX_VERSION="1.43"
--- configure.ac.orig	2021-04-13 17:26:17.000000000 -0600
+++ configure.ac	2021-04-13 17:27:32.000000000 -0600
@@ -53,10 +53,10 @@
   LDFLAGS="$LDFLAGS --coverage"
 fi
 
-CAIRO_LIBS="`pkg-config --libs cairo `"
-CAIRO_CFLAGS="`pkg-config --cflags cairo `"
+CAIRO_LIBS="`pkg-config --libs cairo pangoft2`"
+CAIRO_CFLAGS="`pkg-config --cflags cairo pangoft2`"
 cairo_info="`pkg-config --modversion cairo ` (system)"
-GDIPLUS_PKG_REQ="cairo"
+GDIPLUS_PKG_REQ="cairo pangoft2"
 
 PANGO_REQUIRED_VERSION="1.40.14"
 PANGO_MAX_VERSION="1.43"
