ps: Don't return CAIRO_INT_STATUS_NOTHING_TO_DO for empty glyphs

This commit is contained in:
Adrian Johnson 2011-07-20 19:05:33 +09:30
parent aaa1ed81c2
commit 12b27778e2

View file

@ -3782,8 +3782,12 @@ _cairo_ps_surface_show_glyphs (void *abstract_surface,
glyphs, num_glyphs,
clip,
&overlap);
if (unlikely (status))
if (unlikely (status)) {
if (status == CAIRO_INT_STATUS_NOTHING_TO_DO)
return CAIRO_INT_STATUS_SUCCESS;
return status;
}
if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE)
return _cairo_ps_surface_analyze_operation (surface, op, source, &extents.bounded);