diff options
Diffstat (limited to 'crates/typst-pdf/src')
| -rw-r--r-- | crates/typst-pdf/src/color.rs | 6 | ||||
| -rw-r--r-- | crates/typst-pdf/src/icc/sGrey-v4.icc | bin | 360 -> 0 bytes | |||
| -rw-r--r-- | crates/typst-pdf/src/icc/sRGB-v4.icc | bin | 480 -> 0 bytes | |||
| -rw-r--r-- | crates/typst-pdf/src/oklab.ps (renamed from crates/typst-pdf/src/postscript/oklab.ps) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst-pdf/src/color.rs b/crates/typst-pdf/src/color.rs index f0d483cf..4c35d9a2 100644 --- a/crates/typst-pdf/src/color.rs +++ b/crates/typst-pdf/src/color.rs @@ -19,13 +19,13 @@ const OKLAB_B: Name<'static> = Name(b"B"); // The ICC profiles. static SRGB_ICC_DEFLATED: Lazy<Vec<u8>> = - Lazy::new(|| deflate(include_bytes!("icc/sRGB-v4.icc"))); + Lazy::new(|| deflate(typst_assets::icc::S_RGB_V4)); static GRAY_ICC_DEFLATED: Lazy<Vec<u8>> = - Lazy::new(|| deflate(include_bytes!("icc/sGrey-v4.icc"))); + Lazy::new(|| deflate(typst_assets::icc::S_GREY_V4)); // The PostScript functions for color spaces. static OKLAB_DEFLATED: Lazy<Vec<u8>> = - Lazy::new(|| deflate(minify(include_str!("postscript/oklab.ps")).as_bytes())); + Lazy::new(|| deflate(minify(include_str!("oklab.ps")).as_bytes())); /// The color spaces present in the PDF document #[derive(Default)] diff --git a/crates/typst-pdf/src/icc/sGrey-v4.icc b/crates/typst-pdf/src/icc/sGrey-v4.icc Binary files differdeleted file mode 100644 index 2187b678..00000000 --- a/crates/typst-pdf/src/icc/sGrey-v4.icc +++ /dev/null diff --git a/crates/typst-pdf/src/icc/sRGB-v4.icc b/crates/typst-pdf/src/icc/sRGB-v4.icc Binary files differdeleted file mode 100644 index d9f3c055..00000000 --- a/crates/typst-pdf/src/icc/sRGB-v4.icc +++ /dev/null diff --git a/crates/typst-pdf/src/postscript/oklab.ps b/crates/typst-pdf/src/oklab.ps index e766bbd8..e766bbd8 100644 --- a/crates/typst-pdf/src/postscript/oklab.ps +++ b/crates/typst-pdf/src/oklab.ps |
