From 7fb0d5e2091a09ef7b01574f4ecf87236ef43fec Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 9 Sep 2009 01:45:16 +0100 Subject: [twin] Initialise all properties Left a couple of uninitialised properties along the non-toy font construction path. --- src/cairo-font-face-twin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cairo-font-face-twin.c') diff --git a/src/cairo-font-face-twin.c b/src/cairo-font-face-twin.c index 3f827332..56ebaeaa 100644 --- a/src/cairo-font-face-twin.c +++ b/src/cairo-font-face-twin.c @@ -294,6 +294,8 @@ twin_font_face_create_properties (cairo_font_face_t *twin_face, return _cairo_error (CAIRO_STATUS_NO_MEMORY); props->stretch = TWIN_STRETCH_NORMAL; + props->slant = CAIRO_FONT_SLANT_NORMAL; + props->weight = TWIN_WEIGHT_NORMAL; props->monospace = FALSE; props->smallcaps = FALSE; -- cgit v1.2.3