diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 20:03:40 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 20:03:40 +0000 |
commit | e6b83e4264b4ad2ab73a3239d902b4064c75634d (patch) | |
tree | d17827e323d1df9a5cd580293e7b5e86d77b25ae /pango/pango-layout.h | |
parent | 29263f589d82036fd50742061834a5de81e4aff3 (diff) | |
download | pango-e6b83e4264b4ad2ab73a3239d902b4064c75634d.tar.gz |
Bug 328585 – Need to know if a layout has unknown glyphs Patch from
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 328585 – Need to know if a layout has unknown glyphs
Patch from LingNing Zhang
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
(pango_layout_get_unknown_glyphs_count),
(pango_layout_clear_lines):
* pango/pango-layout.h:
New public function:
pango_layout_get_unknown_glyphs_count()
* pango/pango.def:
* docs/tmpl/layout.sgml:
* docs/pango-sections.txt:
Update.
svn path=/trunk/; revision=2162
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r-- | pango/pango-layout.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h index a1d24ea5..47b4394f 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -156,7 +156,9 @@ void pango_layout_set_ellipsize (PangoLayout *layout, PangoEllipsizeMode pango_layout_get_ellipsize (PangoLayout *layout); gboolean pango_layout_is_ellipsized (PangoLayout *layout); -void pango_layout_context_changed (PangoLayout *layout); +int pango_layout_get_unknown_glyphs_count (PangoLayout *layout); + +void pango_layout_context_changed (PangoLayout *layout); void pango_layout_get_log_attrs (PangoLayout *layout, PangoLogAttr **attrs, @@ -207,6 +209,7 @@ PangoLayoutLine *pango_layout_get_line_readonly (PangoLayout *layout, GSList * pango_layout_get_lines (PangoLayout *layout); GSList * pango_layout_get_lines_readonly (PangoLayout *layout); + #define PANGO_TYPE_LAYOUT_LINE (pango_layout_line_get_type ()) GType pango_layout_line_get_type (void) G_GNUC_CONST; |