shithub: neatmkfn

Download patch

ref: b4ce9850c944c103ac9feff8edd30bbb0a1b15aa
parent: 1c5e9a65763249d2cd2370d288456de8f66efb16
author: Ali Gholami Rudi <ali@rudi.ir>
date: Mon May 28 19:17:43 EDT 2018

mkfn: start each file with a brief comment

--- a/afm.c
+++ b/afm.c
@@ -1,3 +1,4 @@
+/* AFM fonts */
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/otf.c
+++ b/otf.c
@@ -1,3 +1,4 @@
+/* OpenType and TrueType fonts */
 #include <arpa/inet.h>
 #include <errno.h>
 #include <stdio.h>
@@ -53,7 +54,7 @@
 	return (w < 0 ? owid(w) - d / 20 : owid(w) + d / 20) * 10 / d;
 }
 
-/* weather the script is right-to-left */
+/* whether the script is right-to-left */
 static int otf_r2l(char *feat)
 {
 	char *scrp = strchr(feat, ':') + 1;
--- a/sbuf.c
+++ b/sbuf.c
@@ -1,4 +1,4 @@
-/* variable length string buffer */
+/* Variable Length String Buffer */
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- a/tab.c
+++ b/tab.c
@@ -1,3 +1,4 @@
+/* A Dictionary */
 #include <stdlib.h>
 #include <string.h>
 #include "tab.h"