diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-08-22 21:49:46 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-08-22 21:56:10 +0800 |
commit | 04c37454b9ef5a0576c3dd34adc7426450bf18e7 (patch) | |
tree | 02657e9d5a92671f4c8694378c1862369de7e253 /source/fitz/output-png.c | |
parent | a43bac812d152761b03c1e080d452e7595e78754 (diff) | |
download | mupdf-04c37454b9ef5a0576c3dd34adc7426450bf18e7.tar.xz |
Bug 699667: Remember to update gstate pointers when showing patterns.
pdf_show_pattern() may resize the pdf run processors gstate array. In doing
so any pointers to it saved by called will become stale. Similarly to
pdf_begin_group() pdf_show_pattern() now returns the updated pointer to the
top of the gstate stack.
For the same reason pdf_show_pattern() can not be given a pointer to a gstate
stack entry and continue using it after the gstate array has been resized. So,
have pdf_show_pattern() take an index to the desired state instead.
Diffstat (limited to 'source/fitz/output-png.c')
0 files changed, 0 insertions, 0 deletions