[gentium-commits] [SCM] gentium updated: r47 - trunk/test/type1/Scripts

Pavel Far?? INVALID.NOREPLY at gnu.org.ua
Wed Mar 23 14:53:03 CET 2022


Author: pavel
Date: 2022-03-23 13:53:03 +0000 (Wed, 23 Mar 2022)
New Revision: 47

Modified:
   trunk/test/type1/Scripts/Makefile
   trunk/test/type1/Scripts/README
Log:
automate printing number of extra kerning pairs

This enables printing the number of the added extra kerning pairs
for all the individual fonts in a more automatic way.


Modified: trunk/test/type1/Scripts/Makefile
===================================================================
--- trunk/test/type1/Scripts/Makefile	2022-03-23 13:37:39 UTC (rev 46)
+++ trunk/test/type1/Scripts/Makefile	2022-03-23 13:53:03 UTC (rev 47)
@@ -1,8 +1,12 @@
 AFM_PATH = '../../../gentium/fonts/afm/public/gentium-tug/'
 BUILD_PATH = '../../../gentium/source/fonts/gentium-tug/type1'
 
-all:	missing
+all:	count missing
 
+count:
+	# print the number of extra kerning pairs
+	wc -l $(BUILD_PATH)/*-extra.afm
+
 missing:
 	# find missing characters
 	for i in Gentium{,Book}Plus-{Regular,Italic,Bold,BoldItalic}.afm; do \

Modified: trunk/test/type1/Scripts/README
===================================================================
--- trunk/test/type1/Scripts/README	2022-03-23 13:37:39 UTC (rev 46)
+++ trunk/test/type1/Scripts/README	2022-03-23 13:53:03 UTC (rev 47)
@@ -10,8 +10,15 @@
 Usage
 =====
 
-make [missing]
+make [ count | missing ]
 
+count
+  Print the number of extra kerning pairs in the individual fonts. The extra
+  kerning pairs for some fonts would have the value of 0 and these are
+  eliminates.
+    
+  This is useful for the creation of the samples.
+
 missing
   Check if all the characters in the generated extra kerning pairs really
   exist in the fonts. It shouldn't be problem for common characters like



More information about the gentium-commits mailing list.