summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-11-19 21:09:07 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-11-19 21:09:07 +0000
commit4cd0ea80ed9b8d768eb4e736403ae195f18eaccd (patch)
tree282d90f7d521354b3dce213695a802d9a87aa0da /pango/pango-font.h
parentad9f543f410a0e7bbdbadafa42c75bc04ff2be58 (diff)
downloadpango-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/pango-font.h')
-rw-r--r--pango/pango-font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 9425d5cf..cac1b7bb 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -101,6 +101,7 @@ void pango_font_descriptions_free (PangoFontDescription
PangoFontDescription *pango_font_description_from_string (const char *str);
char * pango_font_description_to_string (const PangoFontDescription *desc);
+char * pango_font_description_to_filename (const PangoFontDescription *desc);
/* Logical fonts