[gentium-commits] [SCM] gentium updated: r140 - trunk/test/type1/Scripts
Pavel Far??
INVALID.NOREPLY at gnu.org.ua
Wed May 18 16:11:50 CEST 2022
Author: pavel
Date: 2022-05-18 14:11:49 +0000 (Wed, 18 May 2022)
New Revision: 140
Modified:
trunk/test/type1/Scripts/Makefile
trunk/test/type1/Scripts/README
Log:
make operation for cloning samples for extra kerning pairs
Modified: trunk/test/type1/Scripts/Makefile
===================================================================
--- trunk/test/type1/Scripts/Makefile 2022-05-18 13:19:29 UTC (rev 139)
+++ trunk/test/type1/Scripts/Makefile 2022-05-18 14:11:49 UTC (rev 140)
@@ -9,6 +9,9 @@
# variables for target 'split-kerns'
KERN_BASE_NAMES = GentiumPlus-Regular GentiumPlus-Italic
+# variables for target 'clone-samples'
+SAMPLE_PATH = ../Samples/CorrectedMetrics
+
all:
# It doesn't make sense to use all the targets at the same time
echo Please, supply some parameter.
@@ -98,3 +101,27 @@
pairs-clean:
# delete temporary files created by 'pairs'
find ../Kerns -name 'GentiumPlus-*-kerns-*.txt' -delete
+
+clone-samples:
+ # create samples for extra kerning pairs from sample for encoding T1
+ # TODO: Create samples also for "Kerns-Greek" and "Kerns-rest"
+ sed s/T1/L7x/ $(SAMPLE_PATH)/Kerns-T1/GentiumPlus-t1.tex | sed s/t1/l7x/ \
+ > $(SAMPLE_PATH)/Kerns-L7x/GentiumPlus-l7x.tex
+ sed s/T1/L7x/ $(SAMPLE_PATH)/Kerns-T1/GentiumBookPlus-t1.tex | sed s/t1/l7x/ \
+ > $(SAMPLE_PATH)/Kerns-L7x/GentiumBookPlus-l7x.tex
+ sed s/T1/T2A/ $(SAMPLE_PATH)/Kerns-T1/GentiumPlus-t1.tex | sed s/t1/t2a/ \
+ > $(SAMPLE_PATH)/Kerns-T2A/GentiumPlus-t2a.tex
+ sed s/T1/T2A/ $(SAMPLE_PATH)/Kerns-T1/GentiumBookPlus-t1.tex | sed s/t1/t2a/ \
+ > $(SAMPLE_PATH)/Kerns-T2A/GentiumBookPlus-t2a.tex
+ sed s/T1/T2B/ $(SAMPLE_PATH)/Kerns-T1/GentiumPlus-t1.tex | sed s/t1/t2b/ \
+ > $(SAMPLE_PATH)/Kerns-T2B/GentiumPlus-t2b.tex
+ sed s/T1/T2B/ $(SAMPLE_PATH)/Kerns-T1/GentiumBookPlus-t1.tex | sed s/t1/t2b/ \
+ > $(SAMPLE_PATH)/Kerns-T2B/GentiumBookPlus-t2b.tex
+ sed s/T1/T2C/ $(SAMPLE_PATH)/Kerns-T1/GentiumPlus-t1.tex | sed s/t1/t2c/ \
+ > $(SAMPLE_PATH)/Kerns-T2C/GentiumPlus-t2c.tex
+ sed s/T1/T2C/ $(SAMPLE_PATH)/Kerns-T1/GentiumBookPlus-t1.tex | sed s/t1/t2c/ \
+ > $(SAMPLE_PATH)/Kerns-T2C/GentiumBookPlus-t2c.tex
+ sed s/T1/X2/ $(SAMPLE_PATH)/Kerns-T1/GentiumPlus-t1.tex | sed s/t1/x2/ \
+ > $(SAMPLE_PATH)/Kerns-X2/GentiumPlus-x2.tex
+ sed s/T1/X2/ $(SAMPLE_PATH)/Kerns-T1/GentiumBookPlus-t1.tex | sed s/t1/x2/ \
+ > $(SAMPLE_PATH)/Kerns-X2/GentiumBookPlus-x2.tex
Modified: trunk/test/type1/Scripts/README
===================================================================
--- trunk/test/type1/Scripts/README 2022-05-18 13:19:29 UTC (rev 139)
+++ trunk/test/type1/Scripts/README 2022-05-18 14:11:49 UTC (rev 140)
@@ -88,7 +88,13 @@
pairs-clean
Remove files generated by 'make pairs'.
+clone-samples
+ Take the samples for extra kerning pairs in the encoding T1 and create
+ samples for the other encodings from it.
+ TODO: Create samples also for Kerns-Greek and Kerns-rest.
+
+
Remarks
=======
More information about the gentium-commits
mailing list.