pdfium/testing/resources/form_object_with_text.pdf
Lei Zhang 71e2229aa2 Add text object version of a more complex test for a PDF saving bug
Add a FPDFEditEmbedderTest case to demonstrate a PDF saving bug, where a
no-op FPDFPageObj_SetMatrix() call causes the saved PDF to have
incorrect transformation matrices. This test case has text objects
inside a form. The basic case where text objects are not inside a form
is already covered by the BUG_1893 test case.

Also add a missing sanity check in the prior image object test.

Bug: pdfium:2132
Change-Id: Ib6bb459f4d1a707f53b02c6705ca9422e1eb273a
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/117051
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Sepez <tsepez@google.com>
2024-02-29 23:28:08 +00:00

1.0 KiB