From e43e2c573efa1ee726fb9a28deb94aa33b093b42 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 4 Oct 2023 15:12:34 +0200 Subject: [PATCH] Fix HSL/HSV mixup --- crates/typst/src/export/pdf/color.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst/src/export/pdf/color.rs b/crates/typst/src/export/pdf/color.rs index fccaafab0..6ad273d85 100644 --- a/crates/typst/src/export/pdf/color.rs +++ b/crates/typst/src/export/pdf/color.rs @@ -35,9 +35,9 @@ static GRAY_ICC_DEFLATED: Lazy> = static OKLAB_DEFLATED: Lazy> = Lazy::new(|| deflate(minify(include_str!("postscript/oklab.ps")).as_bytes())); static HSV_DEFLATED: Lazy> = - Lazy::new(|| deflate(minify(include_str!("postscript/hsl.ps")).as_bytes())); -static HSL_DEFLATED: Lazy> = Lazy::new(|| deflate(minify(include_str!("postscript/hsv.ps")).as_bytes())); +static HSL_DEFLATED: Lazy> = + Lazy::new(|| deflate(minify(include_str!("postscript/hsl.ps")).as_bytes())); /// The color spaces present in the PDF document #[derive(Default)]