From b716700b61b229e2b703b892d3e047d84633d982 Mon Sep 17 00:00:00 2001 From: Charlie Moog Date: Thu, 2 Nov 2023 05:12:07 -0500 Subject: Derive PDF instance id from content hash (#2552) --- crates/typst/Cargo.toml | 2 +- crates/typst/src/export/pdf/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/typst/Cargo.toml b/crates/typst/Cargo.toml index e0058a86..c6c97398 100644 --- a/crates/typst/Cargo.toml +++ b/crates/typst/Cargo.toml @@ -31,7 +31,7 @@ kurbo = "0.9" log = "0.4" miniz_oxide = "0.7" once_cell = "1" -pdf-writer = "0.9.1" +pdf-writer = "0.9.2" pixglyph = "0.2" palette = { version = "0.7.3", default-features = false, features = ["approx", "libm"] } regex = "1" diff --git a/crates/typst/src/export/pdf/mod.rs b/crates/typst/src/export/pdf/mod.rs index 91fce588..51ed6d92 100644 --- a/crates/typst/src/export/pdf/mod.rs +++ b/crates/typst/src/export/pdf/mod.rs @@ -207,8 +207,7 @@ fn write_catalog(ctx: &mut PdfContext, ident: Option<&str>, timestamp: Option