summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorAaron Boxer <aaron.boxer@collabora.com>2020-05-28 15:56:40 -0600
committerAaron Boxer <boxerab@gmail.com>2020-06-08 08:31:54 -0400
commit475e2d7cc399241441d06a36542bdcb577276ea3 (patch)
tree48cb39507fe565a947ee1557570ff93d87e7148c /pango/pangowin32-private.h
parentfb2d89845196ac02e2db0dc9ccf40bc9338fea7e (diff)
downloadpango-475e2d7cc399241441d06a36542bdcb577276ea3.tar.gz
pangowin32-fontmap: load windows fallbacks and aliases in class init
Currently, because of the g_once_init*, only the very first font map that is created will get the correct list of aliases. With these changes the fontmap class loads the aliases once, and this hash table is used by all fontmap objects.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index f5620b87..1c9c1c09 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -113,7 +113,7 @@ struct _PangoWin32FontMapClass
PangoContext *context,
PangoWin32Face *face,
const PangoFontDescription *desc);
-
+ GHashTable *aliases;
};
struct _PangoWin32Font