summaryrefslogtreecommitdiff
path: root/pango/pangowin32-fontmap.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-07-06 18:07:27 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-09-26 11:04:25 +0800
commit6843d7fdd75382a162eefe0034d3e8e1d3b50293 (patch)
tree110db285d9391e32bdbffb33ec194803c08880ee /pango/pangowin32-fontmap.c
parent0cebf7cf50c49ea30f00bdce724d290e43b8e29d (diff)
downloadpango-6843d7fdd75382a162eefe0034d3e8e1d3b50293.tar.gz
pangowin32: Initialize DirectWrite
We set up the boilerplate that is necessary for using DirectWrite in our code. Also add code to tear it down after we are done with it.
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r--pango/pangowin32-fontmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 9b980122..be6daa78 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -809,6 +809,7 @@ _pango_win32_font_map_class_init (PangoWin32FontMapClass *class)
(GEqualFunc)alias_equal,
(GDestroyNotify)alias_free,
NULL);
+
#ifdef HAVE_CAIRO_WIN32
read_windows_fallbacks (class->aliases);
read_builtin_aliases (class->aliases);