diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-02-02 04:00:04 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-02-02 04:00:04 +0000 |
commit | e709de3de9fb63189624b35022f47dc2665677d2 (patch) | |
tree | 860abcf39f910706a6d88867d975084470dc52d0 /pango/pangox.h | |
parent | 82d8346691a72e4dd37a1e3999a939be269df32d (diff) | |
download | pango-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/pangox.h')
-rw-r--r-- | pango/pangox.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pango/pangox.h b/pango/pangox.h index b567aa46..e24c6d0d 100644 --- a/pango/pangox.h +++ b/pango/pangox.h @@ -73,13 +73,14 @@ typedef guint16 PangoXSubfont; #define PANGO_X_GLYPH_SUBFONT(glyph) (glyph>>16) #define PANGO_X_GLYPH_INDEX(glyph) (glyph & 0xffff) -int pango_x_list_subfonts (PangoFont *font, - char **charsets, - int n_charsets, - PangoXSubfont **subfont_ids, - int **subfont_charsets); -gboolean pango_x_has_glyph (PangoFont *font, - PangoGlyph glyph); +int pango_x_list_subfonts (PangoFont *font, + char **charsets, + int n_charsets, + PangoXSubfont **subfont_ids, + int **subfont_charsets); +gboolean pango_x_has_glyph (PangoFont *font, + PangoGlyph glyph); +PangoGlyph pango_x_get_unknown_glyph (PangoFont *font); #ifdef __cplusplus } |