diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-05-18 13:54:50 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-05-18 14:01:55 +0200 |
commit | a7dc8ede59f63a5d4c4fb6dd845da328645f11a8 (patch) | |
tree | 42bf7cad67ae2cbf58f1bd4970a98fd7fdcbbd50 /source | |
parent | 2dd6242a5b61da83625a827eb8c250aba8dd9b7a (diff) | |
download | mupdf-a7dc8ede59f63a5d4c4fb6dd845da328645f11a8.tar.xz |
Fix 699368: Remember 'sent' text state in sanitize filter.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-op-filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-op-filter.c b/source/pdf/pdf-op-filter.c index ec905ff7..cea60db5 100644 --- a/source/pdf/pdf-op-filter.c +++ b/source/pdf/pdf-op-filter.c @@ -404,6 +404,7 @@ done_SC: p->chain->op_Ts(ctx, p->chain, gstate->pending.text.rise); } pdf_drop_font(ctx, gstate->sent.text.font); + gstate->sent.text = gstate->pending.text; gstate->sent.text.font = pdf_keep_font(ctx, gstate->pending.text.font); } } |