summaryrefslogtreecommitdiff
path: root/src/cairo-user-font.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-12-20 19:39:58 -0500
committerBehdad Esfahbod <behdad@behdad.org>2008-12-23 13:41:03 -0500
commitd423339fcef3c41225196c4371fb2c133ca61144 (patch)
treebed90a07561f2727b55a7c621a20999d8d6f6c0f /src/cairo-user-font.c
parent93672d842f2b2c840bb9e73901faa4ce5df9c792 (diff)
downloadcairo-d423339fcef3c41225196c4371fb2c133ca61144.tar.gz
[twin] Add face properties
Just parse them now. We don't use them yet.
Diffstat (limited to 'src/cairo-user-font.c')
-rw-r--r--src/cairo-user-font.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cairo-user-font.c b/src/cairo-user-font.c
index 9bfdedc2a..fe475ab41 100644
--- a/src/cairo-user-font.c
+++ b/src/cairo-user-font.c
@@ -339,9 +339,7 @@ static cairo_status_t
_cairo_user_font_face_create_for_toy (cairo_toy_font_face_t *toy_face,
cairo_font_face_t **font_face)
{
- *font_face = _cairo_font_face_twin_create (cairo_toy_font_face_get_slant (&toy_face->base),
- cairo_toy_font_face_get_weight (&toy_face->base));
- return CAIRO_STATUS_SUCCESS;
+ return _cairo_font_face_twin_create_for_toy (toy_face, font_face);
}
static const cairo_scaled_font_backend_t _cairo_user_scaled_font_backend = {