diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-11-19 21:09:07 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-11-19 21:09:07 +0000 |
commit | 4cd0ea80ed9b8d768eb4e736403ae195f18eaccd (patch) | |
tree | 282d90f7d521354b3dce213695a802d9a87aa0da /pango/pangowin32-private.h | |
parent | ad9f543f410a0e7bbdbadafa42c75bc04ff2be58 (diff) | |
download | pango-4cd0ea80ed9b8d768eb4e736403ae195f18eaccd.tar.gz |
New file.
2000-11-19 Tor Lillqvist <tml@iki.fi>
* README.win32: New file.
* pango/fonts.c (pango_font_description_to_filename): New
function. As pango_font_description_to_string, but with result
that is better suitable as a filename: No spaces or other strange
characters, all in lowercase.
(pango_font_describe): Implement this function, call the
corresponding method.
* pango/pango-font.h: Declare pango_font_description_to_filename.
* pango/pangowin32.c (pango_win32_font_describe)
* pango/pangoft2.c (pango_ft2_font_describe): Implement these.
* pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage)
* pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage):
Implement file-based persistent caching of coverages.
* pango/pangoft2-private.h (struct _PangoFT2FontEntry)
* pango/pangowin32-private.h (struct _PangoWin32FontEntry): Move
struct definition here from the -fontmap files.
* pango/pango.def: Updates.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r-- | pango/pangowin32-private.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h index b12971ce..596f7a92 100644 --- a/pango/pangowin32-private.h +++ b/pango/pangowin32-private.h @@ -61,7 +61,7 @@ struct _PangoWin32Font int size; /* hash table mapping from Unicode subranges to array of PangoWin32Subfont - * ids, of length n_fonts + * ids, of length n_subfonts */ GHashTable *subfonts_by_subrange; @@ -78,7 +78,17 @@ struct _PangoWin32Font */ gboolean in_cache; - PangoWin32FontEntry *entry; /* Used to remove cached fonts */ + PangoWin32FontEntry *entry; +}; + +struct _PangoWin32FontEntry +{ + LOGFONT *lfp; + int n_fonts; + PangoFontDescription description; + PangoCoverage *coverage; + + GSList *cached_fonts; }; PangoWin32Font *pango_win32_font_new (PangoFontMap *fontmap, |