summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-07-15 18:36:56 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-09-26 11:04:25 +0800
commit43f3d8b3c22a02b83a3221bd7a0de52a88524c07 (patch)
treec15a98a617bf033e2e008268e23a72d948d99406 /pango/pangowin32-private.h
parent5bc16f7896ba3eb5b37ffdb03f28c646aad5889e (diff)
downloadpango-43f3d8b3c22a02b83a3221bd7a0de52a88524c07.tar.gz
pangowin32: Check for MonoSpace fonts using DirectWrite
...if we have Windows 7 with the platform update (which is normally the case), otherwise we fallback to former GDI approach, since we need to use the IDWriteFont1 interface that is only available with updated Windows 7.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 97bb6ba1..1d843ec2 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -302,6 +302,9 @@ void pango_win32_dwrite_font_map_populate (PangoWin32FontMap
void pango_win32_dwrite_items_destroy (PangoWin32DWriteItems *items);
+gboolean pango_win32_dwrite_font_is_monospace (gpointer dwrite_font,
+ gboolean *is_monospace);
+
void pango_win32_dwrite_font_release (gpointer dwrite_font);
gpointer pango_win32_logfontw_get_dwrite_font (LOGFONTW *logfontw);