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

Pavel Far?? INVALID.NOREPLY at gnu.org.ua
Sat May 7 14:17:51 CEST 2022


Author: pavel
Date: 2022-05-07 12:17:51 +0000 (Sat, 07 May 2022)
New Revision: 101

Modified:
   trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb
   trunk/gentium/source/fonts/gentium-tug/gentium.rb
Log:
start updating Ruby scripts for generating the TeX support files

The scripts don't run with current version of Ruby. They run with very old
version 1.8.7. The scripts are updated and run on such an old version. I don't
use Ruby and therefore I change the scripts in a way that I am able to. The
update for the current version of Ruby should come later.

The scripts were adapted for the new GentiumPlus family (the family
GentiumBookPlus will be added later).

- The generated *.tfm files should be OK. Some files are generated if the
  font has 'Plus' in the name and this should work correctly.

- White space in *.map files should be fixed.

- Support files for LaTeX and ConTeXt should be fixed.

- The generated files (such as *.tfm) are not part of the commit to save the
  space in the repository.


Modified: trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb	2022-04-30 18:23:08 UTC (rev 100)
+++ trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb	2022-05-07 12:17:51 UTC (rev 101)
@@ -2,6 +2,9 @@
 # This file is part of the Gentium package for TeX.
 # It is licensed under the Expat License, see doc//README for details.
 
+# TODO: Make it work with current version of Ruby! It works with version
+#       1.8.7, but not with version as old as 1.9.1.
+
 require 'gentium'
 
 # encodings
@@ -14,10 +17,10 @@
 end
 
 # fonts
-font_gentiumplus_rm  = Font.new("GentiumPlus-R", "GentiumPlus-Regular",     "gentiumplus-regular")
-font_gentiumplus_it  = Font.new("GentiumPlus-I", "GentiumPlus-Italic",      "gentiumplus-italic")
-font_gentiumbasic_bf = Font.new("GenBasB",       "GentiumBasic-Bold",       "gentiumbasic-bold")
-font_gentiumbasic_bi = Font.new("GenBasBI",      "GentiumBasic-BoldItalic", "gentiumbasic-bolditalic")
+font_gentiumplus_rm  = Font.new("GentiumPlus-Regular",    "GentiumPlus-Regular",    "gentiumplus-regular")
+font_gentiumplus_it  = Font.new("GentiumPlus-Italic",     "GentiumPlus-Italic",     "gentiumplus-italic")
+font_gentiumbasic_bf = Font.new("GentiumPlus-Bold",       "GentiumPlus-Bold",       "gentiumplus-bold")
+font_gentiumbasic_bi = Font.new("GentiumPlus-BoldItalic", "GentiumPlus-BoldItalic", "gentiumplus-bolditalic")
 fontlist = [font_gentiumplus_rm, font_gentiumplus_it, font_gentiumbasic_bf, font_gentiumbasic_bi]
 
 

Modified: trunk/gentium/source/fonts/gentium-tug/gentium.rb
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/gentium.rb	2022-04-30 18:23:08 UTC (rev 100)
+++ trunk/gentium/source/fonts/gentium-tug/gentium.rb	2022-05-07 12:17:51 UTC (rev 101)
@@ -1,6 +1,9 @@
 # This file is part of the Gentium package for TeX.
 # It is licensed under the Expat License, see doc//README for details.
 
+# TODO: Make it work with current version of Ruby! It works with version
+#       1.8.7, but not with version as old as 1.9.1.
+
 require 'fileutils'
 
 $TDS_ROOT = File.expand_path('../../../')



More information about the gentium-commits mailing list.