[twin] Initialise all properties

Left a couple of uninitialised properties along the non-toy font
construction path.
This commit is contained in:
Chris Wilson 2009-09-09 01:45:16 +01:00
parent 34778a883a
commit 7fb0d5e209

View file

@ -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;