}
/**
+ * pango_layout_get_character_count:
+ * @layout: a #PangoLayout
+ *
+ * Returns the number of Unicode characters in the
+ * the text of @layout.
+ *
+ * Return value: the number of Unicode characters
+ * in the text of @layout
+ *
+ * Since: 1.30
+ */
+gint
+pango_layout_get_character_count (PangoLayout *layout)
+{
+ g_return_val_if_fail (PANGO_IS_LAYOUT (layout), NULL);
+
+ return layout->n_chars;
+}
+
+/**
* pango_layout_set_markup:
* @layout: a #PangoLayout
* @markup: marked-up text
int length);
const char *pango_layout_get_text (PangoLayout *layout);
+gint pango_layout_get_character_count (PangoLayout *layout);
+
void pango_layout_set_markup (PangoLayout *layout,
const char *markup,
int length);
pango_layout_get_attributes
pango_layout_get_auto_dir
pango_layout_get_baseline
+ pango_layout_get_character_count
pango_layout_get_context
pango_layout_get_cursor_pos
pango_layout_get_ellipsize