summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango2/pangocairo-font.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/pango2/pangocairo-font.c b/pango2/pangocairo-font.c
index 72c06bdb..bdbf8f06 100644
--- a/pango2/pangocairo-font.c
+++ b/pango2/pangocairo-font.c
@@ -74,6 +74,12 @@ create_cairo_font_face (Pango2Font *font)
if (PANGO2_IS_USER_FONT (font))
return create_cairo_user_font_face (font);
+#if 0
+/*
+ * XXX: Acquiring the cairo_face_t via native CoreText/DirectWrite
+ * disabled for now until https://github.com/harfbuzz/harfbuzz/issues/3683
+ * is resolved. Currently, only using cairo-ft is supported.
+ */
#ifdef HAVE_CORE_TEXT
cairo_face = create_cairo_core_text_font_face (font);
if (cairo_face)
@@ -85,6 +91,7 @@ create_cairo_font_face (Pango2Font *font)
if (cairo_face)
return cairo_face;
#endif
+#endif
#ifdef CAIRO_HAS_FT_FONT
cairo_face = create_cairo_ft_font_face (font);