[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:
Chris Wilson 2009-06-06 10:35:19 +01:00
parent 24e51dd2ee
commit 098822d7ee

View file

@ -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