mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-05 11:30:20 +01:00
[twin] Initialise all properties
Left a couple of uninitialised properties along the non-toy font construction path.
This commit is contained in:
parent
34778a883a
commit
7fb0d5e209
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue