summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-09 01:45:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-09 01:45:16 +0100
commit7fb0d5e2091a09ef7b01574f4ecf87236ef43fec (patch)
tree11e2c6ee97698d0df87a1fb3dfc558a0b5f59f4f
parent34778a883af806f77d0c89c85cebb315b43d7ef2 (diff)
[twin] Initialise all properties
Left a couple of uninitialised properties along the non-toy font construction path.
-rw-r--r--src/cairo-font-face-twin.c2
1 files changed, 2 insertions, 0 deletions
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;