shithub: neatpost

Download patch

ref: 393011f64e853e3e2dec6950aab8c90ef12832b9
parent: 622812b584d389d22257f8af05b98839d2920462
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Aug 19 10:35:44 EDT 2020

pdf: use projecting square line cap style

--- a/pdf.c
+++ b/pdf.c
@@ -872,6 +872,7 @@
 		return;
 	draw_point = 0;
 	sbuf_printf(pg, "%d.%03d w\n", lwid / 1000, lwid % 1000);	/* line width */
+	sbuf_printf(pg, "2 J\n");	/* line cap style */
 	if (!fill)		/* stroking color */
 		sbuf_printf(pg, "%s RG\n", pdfcolor(o_m));
 	if (fill)