summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-02-02 04:00:04 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-02-02 04:00:04 +0000
commite709de3de9fb63189624b35022f47dc2665677d2 (patch)
tree860abcf39f910706a6d88867d975084470dc52d0 /pango/pango-font.h
parent82d8346691a72e4dd37a1e3999a939be269df32d (diff)
downloadpango-e709de3de9fb63189624b35022f47dc2665677d2.tar.gz
Add a call to get a glyph for unknown an unknown char.
Wed Feb 2 20:49:21 2000 Owen Taylor <otaylor@redhat.com> * libpango/pangox.c (pango_x_get_unknown_glyph): Add a call to get a glyph for unknown an unknown char. * modules/basic/basic.c: use pango_x_get_unknown_glyph. * libpango/utils.[ch] (_pango_guchar4_to_utf8): Added util function for coverting wide chars to utf8. * libpango/pangox.c (pango_x_font_get_coverage pango_x_font_get_shaper): Initial implementations.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 45d90e75..a2d618ab 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -92,9 +92,10 @@ struct _PangoFontClass
{
void (*destroy) (PangoFont *font);
PangoFontDescription *(*describe) (PangoFont *font);
- PangoCoverage * (*get_coverage) (PangoFont *font);
+ PangoCoverage * (*get_coverage) (PangoFont *font,
+ const char *lang);
PangoEngineShape * (*find_shaper) (PangoFont *font,
- const gchar *lang,
+ const char *lang,
guint32 ch);
};
@@ -109,9 +110,10 @@ void pango_font_set_data (PangoFont *font,
GDestroyNotify destroy_func);
PangoFontDescription *pango_font_describe (PangoFont *font);
-PangoCoverage * pango_font_get_coverage (PangoFont *font);
+PangoCoverage * pango_font_get_coverage (PangoFont *font,
+ const char *lang);
PangoEngineShape * pango_font_find_shaper (PangoFont *font,
- const gchar *lang,
+ const char *lang,
guint32 ch);
/*