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

Pavel Far?? INVALID.NOREPLY at gnu.org.ua
Tue Mar 29 20:24:57 CEST 2022


Author: pavel
Date: 2022-03-29 18:24:56 +0000 (Tue, 29 Mar 2022)
New Revision: 69

Modified:
   trunk/test/type1/Scripts/SplitKerns/split_kerning_pairs.py
Log:
fix splitting kerns into files for individual encodings

Now dmacron and tcommaaccent is found under all three names and the
kern is put to the file for T1 encoding. Previously, it was in the
'rest' file, so nothing was lost.

The files for old fonts were correct.


Modified: trunk/test/type1/Scripts/SplitKerns/split_kerning_pairs.py
===================================================================
--- trunk/test/type1/Scripts/SplitKerns/split_kerning_pairs.py	2022-03-29 17:51:42 UTC (rev 68)
+++ trunk/test/type1/Scripts/SplitKerns/split_kerning_pairs.py	2022-03-29 18:24:56 UTC (rev 69)
@@ -36,6 +36,14 @@
     for line in t1_encoding_file:
         if line.startswith('/'):
             add_one_glyph(line, t1_glyph_names)
+    # add dmacron (all three names)
+    t1_glyph_names.add('dmacron')
+    t1_glyph_names.add('dcroat')
+    t1_glyph_names.add('uni0111')
+    #add tcommaaccent (all three names)
+    t1_glyph_names.add('tcommaaccent')
+    t1_glyph_names.add('tcedilla')
+    t1_glyph_names.add('uni021B')
 
 # create set with glyphs in L7x
 l7x_glyph_names = set("")



More information about the gentium-commits mailing list.