diff options
| author | Tobias Schmitz <tobiasschmitz2001@gmail.com> | 2025-06-24 15:23:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 13:23:37 +0000 |
| commit | 70399a94fd58cc5e3e953c10670c396de8f7f6f7 (patch) | |
| tree | 792ecca8ee875a446992ceb542c1197133cdcb49 /crates | |
| parent | d4be7c4ca54ce1907ce5f7af8a603cf3f4c5a42f (diff) | |
Bump `krilla` to current Git version (#6488)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst-pdf/src/embed.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-pdf/src/embed.rs b/crates/typst-pdf/src/embed.rs index f0cd9060..36330c44 100644 --- a/crates/typst-pdf/src/embed.rs +++ b/crates/typst-pdf/src/embed.rs @@ -34,8 +34,7 @@ pub(crate) fn embed_files( }, }; let data: Arc<dyn AsRef<[u8]> + Send + Sync> = Arc::new(embed.data.clone()); - // TODO: update when new krilla version lands (https://github.com/LaurenzV/krilla/pull/203) - let compress = should_compress(&embed.data).unwrap_or(true); + let compress = should_compress(&embed.data); let file = EmbeddedFile { path, |
