mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 03:28:09 +02:00
Fix xml-surface use of load_truetype_font
This commit is contained in:
parent
e2dcbfd895
commit
12b1cbb07e
1 changed files with 1 additions and 1 deletions
|
|
@ -872,7 +872,7 @@ _cairo_xml_emit_type42_font (cairo_xml_t *xml,
|
|||
if (unlikely (buf == NULL))
|
||||
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
|
||||
|
||||
status = backend->load_truetype_table (scaled_font, 0, 0, buf, NULL);
|
||||
status = backend->load_truetype_table (scaled_font, 0, 0, buf, &size);
|
||||
if (unlikely (status)) {
|
||||
free (buf);
|
||||
return status;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue