shithub: neatpost

Download patch

ref: 8fe07e2d018fa62cd7831d50d6b95a3b245b3018
parent: 5c23d8b30194ff7e3d3bc48ef615fba7197b9868
author: Ali Gholami Rudi <ali@rudi.ir>
date: Tue Mar 27 16:21:32 EDT 2018

pdf: placeholders for non-line drawing commands

--- a/pdf.c
+++ b/pdf.c
@@ -403,18 +403,22 @@
 
 void drawc(int c)
 {
+	outrel(c, 0);
 }
 
 void drawe(int h, int v)
 {
+	outrel(h, 0);
 }
 
 void drawa(int h1, int v1, int h2, int v2)
 {
+	outrel(h1 + h2, v1 + v2);
 }
 
 void draws(int h1, int v1, int h2, int v2)
 {
+	outrel(h1, v1);
 }
 
 void ps_header(char *title, int pagewidth, int pageheight, int linewidth)