Commit c304bf737b6b68cf3fcaddfa06c3dff01e4077ea

Authored by Jay Berkenbilt
1 parent c99a1ecd

Spell check

ChangeLog
1 1 2023-02-25 Jay Berkenbilt <ejb@ql.org>
2 2  
3 3 * When performing overlay or underlay operations, convert the
4   - origianal page to a form XObject instead of simply isolating its
  4 + original page to a form XObject instead of simply isolating its
5 5 contents with q/Q operators. This prevents unbalanced q/Q
6 6 operators in any of the original pages from messing up the
7 7 graphics state of anything that is overlaid on top of it. Fixes
... ...
libqpdf/QPDFJob.cc
... ... @@ -2178,7 +2178,7 @@ QPDFJob::handleUnderOverlay(QPDF&amp; pdf)
2178 2178 // any overlays to form XObjects. Then it concatenates display
2179 2179 // of all underlays, the original page, and all overlays.
2180 2180 // Prior to 11.3.0, the original page contents were wrapped in
2181   - // q/Q, but this didin't work if the original page had
  2181 + // q/Q, but this didn't work if the original page had
2182 2182 // unbalanced q/Q operators. See github issue #904.
2183 2183 auto& dest_page = main_pages.at(i);
2184 2184 auto dest_page_oh = dest_page.getObjectHandle();
... ...