mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 01:48:07 +02:00
PDF: Move dash operator before path construction operators.
I don't recall anything about this in the PDF reference, (though I also didn't look specifically for it), but without this acroread is quite unhappy with cairo's PDF output when it includes dashing.
This commit is contained in:
parent
59885c6a12
commit
e4476dda49
1 changed files with 5 additions and 5 deletions
|
|
@ -2191,6 +2191,11 @@ _cairo_pdf_surface_stroke (void *abstract_surface,
|
|||
if (status)
|
||||
return status;
|
||||
|
||||
status = _cairo_pdf_surface_emit_stroke_style (surface,
|
||||
style);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
info.output = surface->output;
|
||||
info.ctm_inverse = ctm_inverse;
|
||||
|
||||
|
|
@ -2207,11 +2212,6 @@ _cairo_pdf_surface_stroke (void *abstract_surface,
|
|||
ctm->xx, ctm->yx, ctm->xy, ctm->yy,
|
||||
ctm->x0, ctm->y0);
|
||||
|
||||
status = _cairo_pdf_surface_emit_stroke_style (surface,
|
||||
style);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
_cairo_output_stream_printf (surface->output, "S Q\r\n");
|
||||
|
||||
return status;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue