summaryrefslogtreecommitdiff
path: root/pango2/pangowin32-utils-private.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-07-01 12:31:27 +0800
committerMatthias Clasen <mclasen@redhat.com>2022-07-04 11:24:16 -0400
commitc5bd2b4ceffb6550c5a16edc8ead122b7c46aada (patch)
tree303a0e07e584a25df882bcda3232bd0ae47823db /pango2/pangowin32-utils-private.h
parent7b729c23ee7ddbe432b7df0a6916207a381a9874 (diff)
downloadpango-c5bd2b4ceffb6550c5a16edc8ead122b7c46aada.tar.gz
Windows: Split out code for aliases (and fallbacks)
We want to make this code shared between the DirectWrite code and the legacy GDI code, since we want to add aliases (and eventually, fallbacks) for all cases, at least on Windows (well, font family names do not differ between DirectWrite and GDI on a given Windows system :))
Diffstat (limited to 'pango2/pangowin32-utils-private.h')
-rw-r--r--pango2/pangowin32-utils-private.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/pango2/pangowin32-utils-private.h b/pango2/pangowin32-utils-private.h
new file mode 100644
index 00000000..9acebec9
--- /dev/null
+++ b/pango2/pangowin32-utils-private.h
@@ -0,0 +1,29 @@
+/* Pango
+ * pangowin32-utils-private.h: Miscellaneous Windows-related utils
+ *
+ * Copyright (C) 2022 the GTK team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include "pango-fontmap-private.h"
+
+G_BEGIN_DECLS
+
+void
+pango2_win32_font_map_add_aliases_and_fallbacks (Pango2FontMap *map);
+
+G_END_DECLS