summaryrefslogtreecommitdiff
path: root/pango/pangowin32-dwrite-fontmap.cpp
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-10-17 11:22:19 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-10-17 11:22:19 +0800
commit15e31e915d6cd86028350dcf18602f9b212fabd7 (patch)
tree372b9664a65cc26f745fcbf02ae80f760cc16eca /pango/pangowin32-dwrite-fontmap.cpp
parent5786e83a13da81559a7b80b482715e7b9ecceb64 (diff)
downloadpango-15e31e915d6cd86028350dcf18602f9b212fabd7.tar.gz
Revert "PangoWin32: Use HarfBuzz platform APIs if available"
It turned out that there were issues in regards to building HarfBuzz as a fallback dependency, so we retain using only the former method to create the hb_face_t using only raw data, which does not depend on platform API usage in HarfBuzz. Hence, reduce the clutter in the build files a bit, which was a necessary evil back in time. This reverts commit 6b0aa77d23ac969c12eab00b178957a63befe5bd.
Diffstat (limited to 'pango/pangowin32-dwrite-fontmap.cpp')
-rw-r--r--pango/pangowin32-dwrite-fontmap.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/pango/pangowin32-dwrite-fontmap.cpp b/pango/pangowin32-dwrite-fontmap.cpp
index 6e1d9f0a..a2c03675 100644
--- a/pango/pangowin32-dwrite-fontmap.cpp
+++ b/pango/pangowin32-dwrite-fontmap.cpp
@@ -25,10 +25,6 @@
#include <initguid.h>
#include <dwrite_1.h>
-#ifdef HAVE_HARFBUZZ_DIRECT_WRITE
-#include <hb-directwrite.h>
-#endif
-
#ifdef STRICT
#undef STRICT
#endif
@@ -563,14 +559,6 @@ pango_win32_dwrite_font_check_is_hinted (PangoWin32Font *font)
return result;
}
-#ifdef HAVE_HARFBUZZ_DIRECT_WRITE
-hb_face_t *
-pango_win32_dwrite_font_face_create_hb_face (gpointer face)
-{
- return hb_directwrite_face_create ((IDWriteFontFace *)face);
-}
-#endif
-
void
pango_win32_dwrite_font_release (gpointer dwrite_font)
{