From c3a2ee520270d59da7ebdb289de092b9eb918fc7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 11 Jul 2019 21:01:35 +0000 Subject: gentium-tug (11jul19) git-svn-id: svn://tug.org/texlive/trunk@51613 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/fonts/gentium-tug/ChangeLog | 10 +++++ .../texmf-dist/source/fonts/gentium-tug/Makefile | 47 ++++++++++++++++++++++ .../source/fonts/gentium-tug/lig/gentium-lgr.lig | 5 ++- .../source/fonts/gentium-tug/make-zip-4CTAN.sh | 5 ++- 4 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/source/fonts/gentium-tug/ChangeLog create mode 100644 Master/texmf-dist/source/fonts/gentium-tug/Makefile (limited to 'Master/texmf-dist/source/fonts') diff --git a/Master/texmf-dist/source/fonts/gentium-tug/ChangeLog b/Master/texmf-dist/source/fonts/gentium-tug/ChangeLog new file mode 100644 index 00000000000..dcaf0b84584 --- /dev/null +++ b/Master/texmf-dist/source/fonts/gentium-tug/ChangeLog @@ -0,0 +1,10 @@ +2019-07-09 Karl Berry + + * gentium-lgr.lig (|| cwm): change from 0 to cwm to make + sigma + boundary char result in a final sigma. + (sigma quoteright asterisk, slash, colon, bracketright): sigma1. + From Ralf Stubner. + https://tug.org/pipermail/gentium/2019q3/000022.html (thread) + https://tug.org/pipermail/gentium/2019q3/000030.html + +(This file public domain.) diff --git a/Master/texmf-dist/source/fonts/gentium-tug/Makefile b/Master/texmf-dist/source/fonts/gentium-tug/Makefile new file mode 100644 index 00000000000..5c081a62233 --- /dev/null +++ b/Master/texmf-dist/source/fonts/gentium-tug/Makefile @@ -0,0 +1,47 @@ +# This file is part of the Gentium package for TeX. +# It is licensed under the Expat License, see doc//README for details. +# +# Here is just a way to record the commands to test the new boundary +# ligatures to automatically make the final sigma with the lgr encoding. +# From Ralf Stubner, July 2019. + +fontdir = ../../../fonts +tfmdir = $(fontdir)/tfm/public/gentium-tug + +default: try-ital + +# the diff should show differences, hence exit nonzero. +try-reg: lgr-gentiumplus-regular.pl + afm2pl -p $(fontdir)/enc/dvips/gentium-tug/gentium-lgr.enc \ + -l lig/gentium-lgr.lig \ + $(fontdir)/afm/public/gentium-tug/GentiumPlus-R.afm \ + && pltotf GentiumPlus-R \ + && tftopl GentiumPlus-R GentiumPlus-R \ + && ! diff -u lgr-gentiumplus-regular.pl GentiumPlus-R.pl +# +# clearly this could all be factored out, but maybe we will never touch +# this stuff again, so ... +try-ital: lgr-gentiumplus-italic.pl + afm2pl -p $(fontdir)/enc/dvips/gentium-tug/gentium-lgr.enc \ + -l lig/gentium-lgr.lig \ + $(fontdir)/afm/public/gentium-tug/GentiumPlus-I.afm \ + && pltotf GentiumPlus-I \ + && tftopl GentiumPlus-I GentiumPlus-I \ + && ! diff -u lgr-gentiumplus-italic.pl GentiumPlus-I.pl + +# the original pl's, for comparison. +lgr-gentiumplus-regular.pl: + tftopl $(tfmdir)/lgr-gentiumplus-regular $@ || rm -f $@ +lgr-gentiumplus-italic.pl: + tftopl $(tfmdir)/lgr-gentiumplus-italic $@ || rm -f $@ + +# dist just copies the working directory, so have to install and clean. +install: + mv GentiumPlus-R.tfm $(tfmdir)/lgr-gentiumplus-regular.tfm + mv GentiumPlus-I.tfm $(tfmdir)/lgr-gentiumplus-italic.tfm + +clean: + rm -f GentiumPlus-* lgr-gent*.pl + +dist: clean + ./make-zip-4CTAN.sh diff --git a/Master/texmf-dist/source/fonts/gentium-tug/lig/gentium-lgr.lig b/Master/texmf-dist/source/fonts/gentium-tug/lig/gentium-lgr.lig index f65037a5538..0e7dfb2ca67 100644 --- a/Master/texmf-dist/source/fonts/gentium-tug/lig/gentium-lgr.lig +++ b/Master/texmf-dist/source/fonts/gentium-tug/lig/gentium-lgr.lig @@ -1,9 +1,12 @@ -% LIGKERN || = 0 ; +% LIGKERN || = cwm ; % LIGKERN sigma || =:| sigma1 ; sigma guillemotright =:| sigma1 ; % LIGKERN sigma parenright =:| sigma1 ; sigma period =:| sigma1 ; % LIGKERN sigma comma =:| sigma1 ; sigma exclam =:| sigma1 ; % LIGKERN sigma semicolon =:| sigma1 ; sigma anoteleia =:| sigma1 ; +% LIGKERN sigma quoteright =:| sigma1 ; sigma asterisk =:| sigma1 ; +% LIGKERN sigma slash =:| sigma1 ; sigma colon =:| sigma1 ; +% LIGKERN sigma bracketright =:| sigma1 ; % LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ; % LIGKERN parenleft parenleft =: guillemotleft ; diff --git a/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh b/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh index 4f3c3346b2d..28ff5c5316f 100755 --- a/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh +++ b/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh @@ -12,7 +12,8 @@ else fi rm -rf /tmp/gentium?????? -tmpdir=`mktemp -d /tmp/gentiumXXXXXX` +#tmpdir=`mktemp -d /tmp/gentiumXXXXXX` +tmpdir=/tmp/gnt; rm -rf $tmpdir; mkdir $tmpdir cd "$tmpdir" || exit 1 if $local; then @@ -24,6 +25,7 @@ fi pkgname=gentium-tug (cd $TDS/doc/fonts/$pkgname && make clean) +(cd $TDS/source/fonts/$pkgname && make clean) CTAN="$tmpdir/$pkgname" mkdir -p "$CTAN/map" || exit 1 @@ -64,3 +66,4 @@ if $local; then :; else fi ls -l $tdszip_dest/$pkgname.tds.zip $tmpdir/$pkgname.zip + -- cgit v1.2.3