diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2010-11-23 23:20:25 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2010-11-23 23:20:25 +1030 |
commit | 12b1cbb07e5e23dac9f84793924080171deda37f (patch) | |
tree | 3b542e3253b811ff134d2ad0053ce6984068a294 /src/cairo-xml-surface.c | |
parent | e2dcbfd895463d674d55c826ba72030f5f6daa91 (diff) | |
download | cairo-12b1cbb07e5e23dac9f84793924080171deda37f.tar.gz |
Fix xml-surface use of load_truetype_font
Diffstat (limited to 'src/cairo-xml-surface.c')
-rw-r--r-- | src/cairo-xml-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xml-surface.c b/src/cairo-xml-surface.c index b323d03c4..5f0f13b02 100644 --- a/src/cairo-xml-surface.c +++ b/src/cairo-xml-surface.c @@ -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; |