Skip to content

Commit

Permalink
PS: Fix regression - missing page content in EPS output
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Johnson committed Nov 21, 2010
1 parent ed87ddd commit cfff4f3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/cairo-ps-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -3508,9 +3508,6 @@ _cairo_ps_surface_paint (void *abstract_surface,
if (unlikely (status))
return status;

if (! _cairo_rectangle_intersect (&extents.bounded, &surface->page_bbox))
return CAIRO_STATUS_SUCCESS;

if (surface->paginated_mode == CAIRO_PAGINATED_MODE_ANALYZE)
return _cairo_ps_surface_analyze_operation (surface, op, source, &extents.bounded);

Expand Down Expand Up @@ -3579,9 +3576,6 @@ _cairo_ps_surface_stroke (void *abstract_surface,
if (unlikely (status))
return status;

if (! _cairo_rectangle_intersect (&extents.bounded, &surface->page_bbox))
return CAIRO_STATUS_SUCCESS;

/* use the more accurate extents */
if (extents.is_bounded) {
status = _cairo_path_fixed_stroke_extents (path, style,
Expand Down Expand Up @@ -3643,9 +3637,6 @@ _cairo_ps_surface_fill (void *abstract_surface,
if (unlikely (status))
return status;

if (! _cairo_rectangle_intersect (&extents.bounded, &surface->page_bbox))
return CAIRO_STATUS_SUCCESS;

/* use the more accurate extents */
if (extents.is_bounded) {
_cairo_path_fixed_fill_extents (path,
Expand Down

0 comments on commit cfff4f3

Please sign in to comment.