glyphs: Make heavy lines visibly heavy

This commit is contained in:
Benoit de Chezelles authored and Wez Furlong committed 2021-07-07 13:26:23 -07:00
1 parent 4f7b21d532
commit a35aeca082
1 file changed
+1 -1
+1 -1
View File
@@ -332,7 +332,7 @@ impl PolyStyle {
let mut stroke = Stroke::default();
stroke.width = width;
if self == PolyStyle::OutlineHeavy {
stroke.width *= 2.0;
stroke.width *= 3.0; // NOTE: Using 2.0, the difference is almost invisible
}
pixmap.stroke_path(path, paint, &stroke, Transform::identity(), None);
}