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

Pavel Farar INVALID.NOREPLY at gnu.org.ua
Wed May 25 14:57:34 CEST 2022


Author: pavel
Date: 2022-05-25 12:57:34 +0000 (Wed, 25 May 2022)
New Revision: 148

Modified:
   trunk/gentium/source/fonts/gentium-tug/gentium.rb
Log:
use GentiumBookPlus fonts as additional weights for gentium package

- Use the regular weight of GentiumBookPlus as semi bold in the LaTeX
  package "gentium". Use the bold weight of GentiumBookPlus as extra
  bold for package "gentium".
- *.fd files not regenerated. 


Modified: trunk/gentium/source/fonts/gentium-tug/gentium.rb
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/gentium.rb	2022-05-21 22:20:08 UTC (rev 147)
+++ trunk/gentium/source/fonts/gentium-tug/gentium.rb	2022-05-25 12:57:34 UTC (rev 148)
@@ -301,6 +301,11 @@
 			if has_bold? then
 				file.puts declare_font_shape("b", "n",  "plus-bold")
 				file.puts declare_font_shape("b", "it", "plus-bolditalic")
+				# gentium book as additional weights (semi bold, extra bold)
+				file.puts declare_font_shape("sb", "n",  "book-regular")
+				file.puts declare_font_shape("sb", "it", "book-italic")
+				file.puts declare_font_shape("eb", "n",  "book-bold")
+				file.puts declare_font_shape("eb", "it", "book-bolditalic")
 				# TODO: set the correct tfm names in the following two lines
 				if has_smallcaps? then
 					file.puts declare_font_shape("m", "sc",   "plus-regular-sc")
@@ -307,6 +312,11 @@
 					file.puts declare_font_shape("m", "scit", "plus-italic-sc")
 					file.puts declare_font_shape("b", "sc",   "plus-bold-sc")
 					file.puts declare_font_shape("b", "scit", "plus-bolditalic-sc")
+					# gentium book as additional weights (semi bold, extra bold)
+					file.puts declare_font_shape("sb", "sc",   "book-regular-sc")
+					file.puts declare_font_shape("sb", "scit", "book-italic-sc")
+					file.puts declare_font_shape("eb", "sc",   "book-bold-sc")
+					file.puts declare_font_shape("eb", "scit", "book-bolditalic-sc")
 				end
 				# TODO: a clever algorithm to do replacements instead
 				# TODO: (Pavel) Look at substitutions (bold, small caps)



More information about the gentium-commits mailing list.