diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/cairo-surface.c | 3 | ||||
-rw-r--r-- | src/cairo.c | 6 |
3 files changed, 4 insertions, 7 deletions
@@ -369,7 +369,7 @@ cairo_glyph_free cairo_text_cluster_t cairo_text_cluster_allocate cairo_text_cluster_free -cairo_has_show_text_glyphs +cairo_surface_has_show_text_glyphs cairo_user_font_face_create diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 24db00a7..06bd41bf 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -2176,9 +2176,6 @@ _cairo_surface_get_extents (cairo_surface_t *surface, * function to avoid computing UTF-8 text and cluster mapping if the * target surface does not use it. * - * There is a convenience function for this that takes a #cairo_t, - * namely cairo_has_show_text_glyphs(). - * * Return value: %TRUE if @surface supports * cairo_show_text_glyphs(), %FALSE otherwise * diff --git a/src/cairo.c b/src/cairo.c index 12b3968e..cefc9253 100644 --- a/src/cairo.c +++ b/src/cairo.c @@ -3190,9 +3190,9 @@ cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs) * This operation has rendering effects similar to cairo_show_glyphs() * but, if the target surface supports it, uses the provided text and * cluster mapping to embed the text for the glyphs shown in the output. - * The cairo_has_show_text_glyphs() function can be used to query that. - * If the target does not support it, this function acts like - * cairo_show_glyphs(). + * If the target does not support the extended attributes, this function + * acts like the basic cairo_show_glyphs() as if it had been passed + * @glyphs and @num_glyphs. * * The mapping between @utf8 and @glyphs is provided by an array of * <firstterm>clusters</firstterm>. Each cluster covers a number of |