PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Merge remote-tracking branch 'origin/main' into fix/background-hidden-by-page-backdrop
alehel5db4480b40e6
diff --cc crates/automation/tests/it/backdrop.rsindex 1a8a71eb8,000000000..1a8a71eb8mode 100644,000000..100644--- a/crates/automation/tests/it/backdrop.rs+++ b/crates/automation/tests/it/backdrop.rsdiff --cc crates/automation/tests/it/main.rsindex 000000000,8bb3c7781..82ce8551bmode 000000,100644..100644--- a/crates/automation/tests/it/main.rs+++ b/crates/automation/tests/it/main.rs@@@ -1,0 -1,9 +1,10 @@@+ //! The crate's integration tests, linked into one test binary.++ mod automation;+ mod automation_roots;++mod backdrop;+ mod batch;+ mod button_caption;+ mod form_bulk;+ mod hostile_args;+ mod optimize_content_boundaries;diff --cc parity/acrobat-features.tomlindex 596134fb3,362c2aa77..7e330cd51--- a/parity/acrobat-features.toml+++ b/parity/acrobat-features.toml@@@ -2507,9 -2507,9 +2507,9 @@@ tier = "P0milestone = "M7"status = "shipped"commands = ["edit.background"]-tools = ["doc_background"]-evidence = ["crates/ui-egui/tests/it/marks.rs::watermark_and_background_dialogs", "crates/engine/src/tests.rs::headers_footers_watermarks_and_backgrounds_show_update_and_remove", "crates/engine/src/tests.rs::backgrounds_and_watermarks_from_files", "crates/ui-egui/tests/it/marks.rs::backgrounds_and_watermarks_from_a_file", "crates/organize/src/tests.rs::a_page_becomes_a_form_xobject_upright"]-notes = "colour, or a picture from a file (an image or a page of a PDF) scaled relative to the page"+tools = ["doc_background", "doc_backdrops"]- evidence = ["crates/ui-egui/tests/ui_group/marks.rs::watermark_and_background_dialogs", "crates/engine/src/tests.rs::headers_footers_watermarks_and_backgrounds_show_update_and_remove", "crates/engine/src/tests.rs::backgrounds_and_watermarks_from_files", "crates/ui-egui/tests/ui_group/marks.rs::backgrounds_and_watermarks_from_a_file", "crates/organize/src/tests.rs::a_page_becomes_a_form_xobject_upright", "crates/automation/tests/backdrop.rs::a_background_shows_on_a_page_that_paints_its_own_white_backdrop", "crates/ui-egui/tests/ui_group/marks.rs::the_background_dialog_offers_to_replace_a_white_backdrop_and_warns_about_scans", "crates/edit/src/backdrop_tests.rs::content_that_is_not_a_page_backdrop_is_left_alone"]++evidence = ["crates/ui-egui/tests/it/marks.rs::watermark_and_background_dialogs", "crates/engine/src/tests.rs::headers_footers_watermarks_and_backgrounds_show_update_and_remove", "crates/engine/src/tests.rs::backgrounds_and_watermarks_from_files", "crates/ui-egui/tests/it/marks.rs::backgrounds_and_watermarks_from_a_file", "crates/organize/src/tests.rs::a_page_becomes_a_form_xobject_upright", "crates/automation/tests/it/backdrop.rs::a_background_shows_on_a_page_that_paints_its_own_white_backdrop", "crates/ui-egui/tests/it/marks.rs::the_background_dialog_offers_to_replace_a_white_backdrop_and_warns_about_scans", "crates/edit/src/backdrop_tests.rs::content_that_is_not_a_page_backdrop_is_left_alone"]+notes = "colour, or a picture from a file (an image or a page of a PDF) scaled relative to the page. A page that paints its own opaque white backdrop (browsers' Save as PDF, print drivers) used to hide the background entirely; the dialog now offers to replace that fill (on by default; Remove puts it back unless the content was edited since). Our own choice: Acrobat's behaviour on such pages has not been observed. Still hidden: scanned pages (warned), backdrops drawn inside a form XObject, by a non-rectangular path, or in a named colour space; the dialog preview is a schematic, not the page"[[feature]]id = "edit.background-update-remove"