From b01b7450b9ab3329fe285d24477a62ee9c32093d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 30 Sep 2024 09:44:12 +0200 Subject: [PATCH] Add note to `options.pdfa` --- src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 21894b6d..99086cda 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -156,7 +156,11 @@ pub struct ConversionOptions { /// _Default:_ `true`. pub embed_text: bool, - /// Whether to enforce PDF/A rules. + /// Whether to write chunks in PDF/A-2b compliant mode. + /// + /// **Note:** This currently only ensures that `to_chunk` does not generate + /// anything that is forbidden by PDF/A. It does _not_ turn the + /// free-standing PDF generated by `to_pdf` into a valid PDF/A. pub pdfa: bool, }