mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 19:18:12 +02:00
ps: Don't return CAIRO_INT_STATUS_NOTHING_TO_DO for empty glyphs
This commit is contained in:
parent
aaa1ed81c2
commit
12b27778e2
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue