diff options
author | Tor Lillqvist <tml@novell.com> | 2008-05-26 16:21:55 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-05-26 16:21:55 +0000 |
commit | d6e37e0396d8a1bd939bff1f1c254b73770ee7e9 (patch) | |
tree | 54cd02614667bd011e59a1d325bbdb766cc708f1 /pango/pangowin32-private.h | |
parent | e38ae49fe45cd01267ce8198e8a40f98f2d72042 (diff) | |
download | pango-d6e37e0396d8a1bd939bff1f1c254b73770ee7e9.tar.gz |
pango/pangowin32-private.h Drop the PangoWin32SizeInfo struct and the hash
2008-05-26 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h
* pango/pangowin32-fontmap.c: Drop the PangoWin32SizeInfo struct
and the hash table mapping from the relevant part of a
LOGFONTW struct to a list of PangoWin32SizeInfos in
PangoWin32FontMap. It seems that each list was always of length
one anyway, so instead just map directly to each such single list
member, also a LOGFONTW struct. Actually I wonder whether this map
is needed at all, will have to experiment.
svn path=/trunk/; revision=2635
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r-- | pango/pangowin32-private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h index 5f603667..8f8c7f97 100644 --- a/pango/pangowin32-private.h +++ b/pango/pangowin32-private.h @@ -99,9 +99,10 @@ struct _PangoWin32FontMap GHashTable *families; /* Map LOGFONTWs (taking into account only the lfFaceName, lfItalic - * and lfWeight fields) to PangoWin32SizeInfo structs. + * and lfWeight fields) to LOGFONTWs corresponding to actual fonts + * installed. */ - GHashTable *size_infos; + GHashTable *fonts; int n_fonts; |