Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Mar 1, 2025
1 parent ac3bb35 commit 964d091
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/krilla/src/chunk_container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,12 @@ impl ChunkContainer {
}
}

if !embedded_files.is_empty() && matches!(
if !embedded_files.is_empty()
&& matches!(
sc.serialize_settings().validator,
Validator::A3_A | Validator::A3_B | Validator::A3_U
) {
)
{
// PDF 2.0, but ISO 19005-3 (PDF/A-3) Annex E allows it for PDF/A-3.
let mut associated_files = catalog.insert(Name(b"AF")).array().typed();
for _ref in embedded_files.values() {
Expand Down

0 comments on commit 964d091

Please sign in to comment.