From a8e8d2aba811487dbb5b682c4f55065008e7ebbd Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 25 Jan 2011 16:29:58 +0100 Subject: [PATCH] scaled font: Fix the docs for cairo_scaled_font_get_font_face With the toy font API, it is possible that cairo_scaled_font_get_font_face() doesn't return the font face which was passed to cairo_scaled_font_create() despite the docs saying otherwise. Signed-off-by: Uli Schlachter --- src/cairo-scaled-font.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index 270287720..196af4dbe 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -2870,8 +2870,9 @@ _cairo_scaled_font_get_max_scale (cairo_scaled_font_t *scaled_font) * cairo_scaled_font_get_font_face: * @scaled_font: a #cairo_scaled_font_t * - * Gets the font face that this scaled font uses. This is the - * font face passed to cairo_scaled_font_create(). + * Gets the font face that this scaled font uses. This might be the + * font face passed to cairo_scaled_font_create(), but this does not + * hold true for all possible cases. * * Return value: The #cairo_font_face_t with which @scaled_font was * created.