[gentium-commits] [SCM] gentium updated: r149 - trunk/gentium/source/fonts/gentium-tug
Pavel Farar
INVALID.NOREPLY at gnu.org.ua
Wed May 25 15:17:39 CEST 2022
Author: pavel
Date: 2022-05-25 13:17:39 +0000 (Wed, 25 May 2022)
New Revision: 149
Modified:
trunk/gentium/source/fonts/gentium-tug/gentium.rb
Log:
use GentiumPlus fonts as additional weights for gentiumbook package
- The regular weight of GentiumPlus is used as semi light in the
gentiumbook package, and the bold weight of GentiumPlus is used
as semi bold in the package gentiumbook.
- *.fd files not regenerated.
Modified: trunk/gentium/source/fonts/gentium-tug/gentium.rb
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/gentium.rb 2022-05-25 12:57:34 UTC (rev 148)
+++ trunk/gentium/source/fonts/gentium-tug/gentium.rb 2022-05-25 13:17:39 UTC (rev 149)
@@ -364,6 +364,11 @@
if has_bold? then
file.puts declare_font_shape_book("b", "n", "book-bold")
file.puts declare_font_shape_book("b", "it", "book-bolditalic")
+ # gentium plus as additional weights (semi light, semi bold)
+ file.puts declare_font_shape_book("sl", "n", "plus-regular")
+ file.puts declare_font_shape_book("sl", "it", "plus-italic")
+ file.puts declare_font_shape_book("sb", "n", "plus-bold")
+ file.puts declare_font_shape_book("sb", "it", "plus-bolditalic")
# TODO: set the correct tfm names in the following two lines
if has_smallcaps? then
file.puts declare_font_shape_book("m", "sc", "book-regular-sc")
@@ -370,6 +375,11 @@
file.puts declare_font_shape_book("m", "scit", "book-italic-sc")
file.puts declare_font_shape_book("b", "sc", "book-bold-sc")
file.puts declare_font_shape_book("b", "scit", "book-bolditalic-sc")
+ # gentium plus as additional weights (semi light, semi bold)
+ file.puts declare_font_shape_book("sl", "sc", "plus-regular-sc")
+ file.puts declare_font_shape_book("sl", "scit", "plus-italic-sc")
+ file.puts declare_font_shape_book("sb", "sc", "plus-bold-sc")
+ file.puts declare_font_shape_book("sb", "scit", "plus-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.