mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 03:28:09 +02:00
tags: Don't ignore tag on empty pages
Issue 357
This commit is contained in:
parent
ef99c3bf30
commit
2a21ed0293
2 changed files with 3 additions and 2 deletions
|
|
@ -777,8 +777,8 @@ _cairo_analysis_surface_tag (void *abstract_surface,
|
|||
ctm,
|
||||
ctm_inverse,
|
||||
clip);
|
||||
if (_cairo_int_status_is_error (backend_status))
|
||||
return backend_status;
|
||||
if (backend_status == CAIRO_INT_STATUS_SUCCESS)
|
||||
surface->has_supported = TRUE;
|
||||
}
|
||||
|
||||
return backend_status;
|
||||
|
|
|
|||
|
|
@ -2952,6 +2952,7 @@ _cairo_surface_tag (cairo_surface_t *surface,
|
|||
status = surface->backend->tag (surface, begin, tag_name, attributes,
|
||||
source, stroke_style,
|
||||
ctm, ctm_inverse, clip);
|
||||
surface->is_clear = FALSE;
|
||||
|
||||
return _cairo_surface_set_error (surface, status);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue