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

Pavel Far?? INVALID.NOREPLY at gnu.org.ua
Sun May 8 17:00:11 CEST 2022


Author: pavel
Date: 2022-05-08 15:00:10 +0000 (Sun, 08 May 2022)
New Revision: 106

Modified:
   trunk/gentium/source/fonts/gentium-tug/gentium.rb
Log:
use small caps for bold weight in *.fd files

Modified: trunk/gentium/source/fonts/gentium-tug/gentium.rb
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/gentium.rb	2022-05-08 12:55:43 UTC (rev 105)
+++ trunk/gentium/source/fonts/gentium-tug/gentium.rb	2022-05-08 15:00:10 UTC (rev 106)
@@ -303,8 +303,11 @@
 				if has_smallcaps? then
 					file.puts declare_font_shape("m", "sc",   "plus-regular-sc")
 					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")
 				end
 				# TODO: a clever algorithm to do replacements instead
+				# TODO: (Pavel) Look at substitutions (bold, small caps)
 				file.puts declare_font_shape_sub("m",  "sl", "m", "it")
 				file.puts declare_font_shape_sub("b",  "sl", "b", "it")
 				file.puts declare_font_shape_sub("bx", "sl", "b", "it")



More information about the gentium-commits mailing list.