mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Part of #394: rustfmt the alternate-glyph test
This commit is contained in:
@@ -25,7 +25,12 @@ fn highlight_alternate_glyphs_paints_pink_behind_a_ligature() {
|
||||
let l = d.layers[0].id;
|
||||
d.insert(Some(l), 0, n).unwrap();
|
||||
|
||||
let off = RenderOptions { background: Some([255, 255, 255, 255]), highlight_substitutions: true, highlight_alternate_glyphs: false, ..Default::default() };
|
||||
let off = RenderOptions {
|
||||
background: Some([255, 255, 255, 255]),
|
||||
highlight_substitutions: true,
|
||||
highlight_alternate_glyphs: false,
|
||||
..Default::default()
|
||||
};
|
||||
let on = RenderOptions { highlight_alternate_glyphs: true, ..off.clone() };
|
||||
let mut r = Renderer::new();
|
||||
let without = r.render(&d, 200, 100, Affine::IDENTITY, &off);
|
||||
|
||||
Reference in New Issue
Block a user