ref: fcc50bc95967105985f7a7da7c11c82f1515090e
parent: 9842b0ae2fd64c678b545ca71f9c34b7afba87c5
author: phil9 <telephil9@gmail.com>
date: Sat Jun 1 11:48:27 EDT 2024
add 'lineheight' configuration lines have height the size of the defined font. The 'lineheight' directive is a multiplier of this size (minimum being 1.0) to allow for more spacing between them.
--- a/spit.c
+++ b/spit.c
@@ -86,7 +86,7 @@
draw(b, rectaddpt(r, Pt(p.x + Dx(bol->r) + padding, p.y)), cols[Cfg], i, ZP);
freeimage(i);
}
- p.y += Dy(r);
+ p.y += Dy(r)*lineheight;
return p;
}