shithub: neatpost

Download patch

ref: 7e6d876790a134a237151b06060d497efc451c7e
parent: 76db4d3edc8fb8e1c2d6afb8c21bc2894307f43a
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed May 2 22:37:16 EDT 2018

pdf: setting the title from docheader()

--- a/pdf.c
+++ b/pdf.c
@@ -850,7 +850,7 @@
 void docheader(char *title, int pagewidth, int pageheight, int linewidth)
 {
 	if (title)
-		outinfo("Author", title);
+		outinfo("Title", title);
 	obj_map();
 	pdf_root = obj_map();
 	pdf_pages = obj_map();