Reduce stroke width a bit
diff --git a/sparse_strips/vello_sparse_tests/snapshots/glyphs_large_stroke_width.png b/sparse_strips/vello_sparse_tests/snapshots/glyphs_large_stroke_width.png index 4598e83..c8e79a4 100644 --- a/sparse_strips/vello_sparse_tests/snapshots/glyphs_large_stroke_width.png +++ b/sparse_strips/vello_sparse_tests/snapshots/glyphs_large_stroke_width.png
@@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:93451130498bbf6f35560c0806b7951fe98afd5bae67fefe733f9dc5c7f97e80 -size 2821 +oid sha256:a409728ccaf05d8c21b23ef7a98f4e888ff4a925b4f8a5fa10841aaba64333b0 +size 3671
diff --git a/sparse_strips/vello_sparse_tests/tests/glyph.rs b/sparse_strips/vello_sparse_tests/tests/glyph.rs index 1db6c71..6390290 100644 --- a/sparse_strips/vello_sparse_tests/tests/glyph.rs +++ b/sparse_strips/vello_sparse_tests/tests/glyph.rs
@@ -75,7 +75,7 @@ ctx.set_transform(Affine::translate((0., f64::from(font_size)))); ctx.set_paint(REBECCA_PURPLE.with_alpha(0.5)); ctx.set_stroke(Stroke { - width: 5.0, + width: 3.0, ..Stroke::default() }); ctx.glyph_run(&font) @@ -273,7 +273,7 @@ #[derive(Debug, Clone, Copy, PartialEq, Eq)] enum DrawMode { Fill, - Stroke + Stroke, } #[vello_test(width = 250, height = 70, skip_hybrid, cpu_u8_tolerance = 1)] @@ -288,12 +288,20 @@ #[vello_test(width = 500, height = 140, skip_hybrid, cpu_u8_tolerance = 1)] fn glyphs_colr_noto_scaled_2x(ctx: &mut impl Renderer) { - render_colr_noto_with_transform(ctx, Affine::translate((0., 50.)).then_scale(2.0), DrawMode::Fill); + render_colr_noto_with_transform( + ctx, + Affine::translate((0., 50.)).then_scale(2.0), + DrawMode::Fill, + ); } #[vello_test(width = 125, height = 35, skip_hybrid, cpu_u8_tolerance = 1)] fn glyphs_colr_noto_scaled_half(ctx: &mut impl Renderer) { - render_colr_noto_with_transform(ctx, Affine::translate((0., 50.)).then_scale(0.5), DrawMode::Fill); + render_colr_noto_with_transform( + ctx, + Affine::translate((0., 50.)).then_scale(0.5), + DrawMode::Fill, + ); } #[vello_test(width = 350, height = 350, skip_hybrid, cpu_u8_tolerance = 3)]