mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 21:10:10 +01:00
[script] Fix erroneous error return when rendering type3 glyphs
Only return a USER_FONT_ERROR if an error occurs whilst rendering the glyph!
This commit is contained in:
parent
24e51dd2ee
commit
098822d7ee
1 changed files with 1 additions and 1 deletions
|
|
@ -1494,7 +1494,7 @@ _type3_render (cairo_scaled_font_t *scaled_font,
|
|||
|
||||
status = csi_object_execute (ctx, &render);
|
||||
pop (1);
|
||||
return CAIRO_STATUS_USER_FONT_ERROR;
|
||||
return status ? CAIRO_STATUS_USER_FONT_ERROR : CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static csi_status_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue