diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-10-04 15:12:34 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-10-04 15:12:34 +0200 |
| commit | e43e2c573efa1ee726fb9a28deb94aa33b093b42 (patch) | |
| tree | d961b6add92568e92108de478db9d70849e1dfd9 | |
| parent | 9e4a96cd42cf017fd53e9e8e8d1253067f7149f1 (diff) | |
Fix HSL/HSV mixup
| -rw-r--r-- | crates/typst/src/export/pdf/color.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/export/pdf/color.rs b/crates/typst/src/export/pdf/color.rs index fccaafab..6ad273d8 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<Vec<u8>> = static OKLAB_DEFLATED: Lazy<Vec<u8>> = Lazy::new(|| deflate(minify(include_str!("postscript/oklab.ps")).as_bytes())); static HSV_DEFLATED: Lazy<Vec<u8>> = - Lazy::new(|| deflate(minify(include_str!("postscript/hsl.ps")).as_bytes())); -static HSL_DEFLATED: Lazy<Vec<u8>> = Lazy::new(|| deflate(minify(include_str!("postscript/hsv.ps")).as_bytes())); +static HSL_DEFLATED: Lazy<Vec<u8>> = + Lazy::new(|| deflate(minify(include_str!("postscript/hsl.ps")).as_bytes())); /// The color spaces present in the PDF document #[derive(Default)] |
