mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
View: Proof Setup › Customize… opens a dialog for the device to simulate
View › Proof Setup › Customize… opened the Separations Preview panel. It now opens a Proof Setup dialog: Device to Simulate (the working CMYK space or any CMYK or RGB profile), Preserve CMYK Numbers or Preserve RGB Numbers, Rendering intent (off while the numbers are preserved), Simulate Paper Color, Simulate Black Ink and Preview. OK sets the proof setup and turns Proof Colors on; Cancel puts the earlier proof back. view.proofSetup takes an "rgb:<profile>" target, preserveNumbers and simulateBlack, and its reply carries both. Simulate Black Ink shows the device's black without black-point compensation. With Preserve Numbers the renderer proofs each color from its own numbers as it paints it, placed CMYK images from their own inks, and the inks a CMYK document blends; the paper under the art takes Simulate Paper Color's tint.
This commit is contained in:
1 parent
67f6d3a50f
commit
06bf6397c7
49 files changed
+1007
-39
No files matched your search
@@ -191,6 +191,9 @@ fn rasterize(
|
||||
let symbols = doc.symbol_boxes().quick();
|
||||
r.stamp += 1;
|
||||
let px_rect = Rect::new(0.0, 0.0, w as f64, h as f64);
|
||||
// A tile drawn for a proof that preserves the colors' numbers shows its images through that
|
||||
// proof too.
|
||||
let plates = crate::proof::ink_plate_lut(ink, doc);
|
||||
for o in def.offsets_covering(region) {
|
||||
let v = view * def.instance_xf(o);
|
||||
let frame = Frame {
|
||||
@@ -203,7 +206,7 @@ fn rasterize(
|
||||
opts: &opts,
|
||||
ink,
|
||||
output: v,
|
||||
plates: None,
|
||||
plates: plates.as_deref(),
|
||||
};
|
||||
for a in &def.art {
|
||||
r.draw_arc(&mut ctx, &frame, a);
|
||||
|
||||
Reference in new issue
Block a user