mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 20:37:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
16
gfx/cairo/ensure-text-flushed.patch
Normal file
16
gfx/cairo/ensure-text-flushed.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/gfx/cairo/cairo/src/cairo-pdf-operators.c b/gfx/cairo/cairo/src/cairo-pdf-operators.c
|
||||
--- a/gfx/cairo/cairo/src/cairo-pdf-operators.c
|
||||
+++ b/gfx/cairo/cairo/src/cairo-pdf-operators.c
|
||||
@@ -480,6 +480,12 @@ _cairo_pdf_operators_clip (cairo_pdf_ope
|
||||
const char *pdf_operator;
|
||||
cairo_status_t status;
|
||||
|
||||
+ if (pdf_operators->in_text_object) {
|
||||
+ status = _cairo_pdf_operators_end_text (pdf_operators);
|
||||
+ if (unlikely (status))
|
||||
+ return status;
|
||||
+ }
|
||||
+
|
||||
if (! path->has_current_point) {
|
||||
/* construct an empty path */
|
||||
_cairo_output_stream_printf (pdf_operators->stream, "0 0 m ");
|
||||
Loading…
Add table
Add a link
Reference in a new issue