[gentium-commits] [SCM] gentium updated: r56 - trunk/gentium/source/fonts/gentium-tug/type1

Pavel Far?? INVALID.NOREPLY at gnu.org.ua
Fri Mar 25 12:20:07 CET 2022


Author: pavel
Date: 2022-03-25 11:20:07 +0000 (Fri, 25 Mar 2022)
New Revision: 56

Modified:
   trunk/gentium/source/fonts/gentium-tug/type1/ff-gentium.pe
Log:
fix font version text

The code for setting the text of the version works now.
All is fixed now, but read what follows.

The actual text most probably needs some changes:
- The gentiumps version should be probably increased.
- Should be used both GentiumPlus and GentiumBookPlus or just
  GentiumPlus?


Modified: trunk/gentium/source/fonts/gentium-tug/type1/ff-gentium.pe
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/type1/ff-gentium.pe	2022-03-25 10:11:29 UTC (rev 55)
+++ trunk/gentium/source/fonts/gentium-tug/type1/ff-gentium.pe	2022-03-25 11:20:07 UTC (rev 56)
@@ -15,8 +15,8 @@
 FONT_COPYRIGHT='Copyright (c) SIL International, 2003-2014. TeX conversion additions copyright (c) 2013-2015 TeX Users Group. Released under the OFL, http://scripts.sil.org/OFL.'
 
 TTF_PATH='../../../../fonts/truetype/public/gentium-tug/'
-FONT_VERSION_PLUS='gentiumps-1.1 (from Gentium Plus 5.000; 2014; Major update)'
-FONT_VERSION_BASIC='gentiumps-1.0 (from Gentium Basic 1.100; 2008; Maintenance release)'
+FONT_VERSION_PLUS='gentiumps-1.1 (from Gentium Plus 6.101; 2022; Maintenance release)'
+FONT_VERSION_BOOK='gentiumps-1.0 (from Gentium Book Plus 6.101; 2022; Maintenance release)'
 
 LoadNamelist("vgx.nam")
 
@@ -148,10 +148,10 @@
 	# FIX ME
 	hyphened=Strrstr($fontname,"-")
 	spaced=Strrstr($fullname," ")
-	if ( $argv[i] == "GentiumPlus-R.ttf" || $argv[i] == "GentiumPlus-I.ttf" )
+	if ( Strcasestr($argv[i], "GentiumPlus") == 0 )
 		FONT_VERSION=FONT_VERSION_PLUS
 	else
-		FONT_VERSION=FONT_VERSION_BASIC
+		FONT_VERSION=FONT_VERSION_BOOK
 	endif
 	if ( hyphened > 0 )
 		fontnamecyntaf=Strsub($fontname,0,hyphened)



More information about the gentium-commits mailing list.