summaryrefslogtreecommitdiff
path: root/src/cairo-gstate.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-08-05 20:53:09 +0000
committerCarl Worth <cworth@cworth.org>2005-08-05 20:53:09 +0000
commitc14f2252b1b3a4499e65c13a146b9f8c5e9c5550 (patch)
treef5da0804a4db65e010170b1fee52a624d048d87e /src/cairo-gstate.c
parent9c1fe21cd70bed9fd9e77ec757751df723cb9c42 (diff)
Rename font_face_backend->create_font to scaled_font_create. Group the scaled_font prototypes together. A little more simple -> toy renaming.
A little more simple -> toy renaming. Track rename of font_face_backend->scaled_font_create.
Diffstat (limited to 'src/cairo-gstate.c')
-rw-r--r--src/cairo-gstate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c
index f38d76ca..8820b761 100644
--- a/src/cairo-gstate.c
+++ b/src/cairo-gstate.c
@@ -1403,7 +1403,7 @@ _cairo_gstate_select_font_face (cairo_gstate_t *gstate,
{
cairo_font_face_t *font_face;
- font_face = _cairo_simple_font_face_create (family, slant, weight);
+ font_face = _cairo_toy_font_face_create (family, slant, weight);
if (font_face->status)
return font_face->status;
@@ -1557,9 +1557,9 @@ _cairo_gstate_ensure_font_face (cairo_gstate_t *gstate)
if (!gstate->font_face) {
cairo_font_face_t *font_face;
- font_face = _cairo_simple_font_face_create (CAIRO_FONT_FAMILY_DEFAULT,
- CAIRO_FONT_SLANT_DEFAULT,
- CAIRO_FONT_WEIGHT_DEFAULT);
+ font_face = _cairo_toy_font_face_create (CAIRO_FONT_FAMILY_DEFAULT,
+ CAIRO_FONT_SLANT_DEFAULT,
+ CAIRO_FONT_WEIGHT_DEFAULT);
if (font_face->status)
return font_face->status;
else