mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 15:08:02 +02:00
ps: fix imagemask with pattern source failure on some printers
When /PaintProc is invoked the pattern dict is pushed onto the stack. Ensure this dict is removed. https://bugs.freedesktop.org/show_bug.cgi?id=69485
This commit is contained in:
parent
2afc941d7f
commit
f81b140675
1 changed files with 2 additions and 2 deletions
|
|
@ -3401,7 +3401,7 @@ _cairo_ps_surface_emit_surface_pattern (cairo_ps_surface_t *surface,
|
|||
_cairo_output_stream_printf (surface->stream,
|
||||
" /BBox [0 0 %d %d]\n"
|
||||
" /PaintProc {\n"
|
||||
" CairoPattern\n"
|
||||
" pop CairoPattern\n"
|
||||
" [-1 0 0 1 %d 0] concat CairoPattern\n"
|
||||
" [ 1 0 0 -1 0 %d] concat CairoPattern\n"
|
||||
" [-1 0 0 1 %d 0] concat CairoPattern\n"
|
||||
|
|
@ -3422,7 +3422,7 @@ _cairo_ps_surface_emit_surface_pattern (cairo_ps_surface_t *surface,
|
|||
pattern_width, pattern_height);
|
||||
}
|
||||
_cairo_output_stream_printf (surface->stream,
|
||||
" /PaintProc { CairoPattern }\n");
|
||||
" /PaintProc { pop CairoPattern }\n");
|
||||
}
|
||||
|
||||
_cairo_output_stream_printf (surface->stream,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue