mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 14:58:09 +02:00
[cairo-scaled-font-subsets] Fix use of unitialised variable.
Valgrind reported that pdf-operators tried to use an uninitialised subset_glyph->utf8_is_mapped.
This commit is contained in:
parent
f92131c38a
commit
07b39ee3c0
1 changed files with 1 additions and 0 deletions
|
|
@ -487,6 +487,7 @@ _cairo_sub_font_map_glyph (cairo_sub_font_t *sub_font,
|
|||
subset_glyph->is_composite = sub_font->is_composite;
|
||||
subset_glyph->x_advance = sub_font_glyph->x_advance;
|
||||
subset_glyph->y_advance = sub_font_glyph->y_advance;
|
||||
subset_glyph->utf8_is_mapped = FALSE;
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue