[gentium-commits] [SCM] gentium updated: r107 - trunk/gentium/source/fonts/gentium-tug
Pavel Far??
INVALID.NOREPLY at gnu.org.ua
Sun May 8 18:12:01 CEST 2022
Author: pavel
Date: 2022-05-08 16:12:01 +0000 (Sun, 08 May 2022)
New Revision: 107
Modified:
trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb
Log:
generate *.tfm files for GentiumBookPlus family
Modified: trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb
===================================================================
--- trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb 2022-05-08 15:00:10 UTC (rev 106)
+++ trunk/gentium/source/fonts/gentium-tug/generate-support-files.rb 2022-05-08 16:12:01 UTC (rev 107)
@@ -17,13 +17,19 @@
end
# fonts
-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]
+font_gentiumplus_rm = Font.new("GentiumPlus-Regular", "GentiumPlus-Regular", "gentiumplus-regular")
+font_gentiumplus_it = Font.new("GentiumPlus-Italic", "GentiumPlus-Italic", "gentiumplus-italic")
+font_gentiumplus_bf = Font.new("GentiumPlus-Bold", "GentiumPlus-Bold", "gentiumplus-bold")
+font_gentiumplus_bi = Font.new("GentiumPlus-BoldItalic", "GentiumPlus-BoldItalic", "gentiumplus-bolditalic")
+fontlist = [font_gentiumplus_rm, font_gentiumplus_it, font_gentiumplus_bf, font_gentiumplus_bi]
+font_gentiumbook_rm = Font.new("GentiumBookPlus-Regular", "GentiumBookPlus-Regular", "gentiumbook-regular")
+font_gentiumbook_it = Font.new("GentiumBookPlus-Italic", "GentiumBookPlus-Italic", "gentiumbook-italic")
+font_gentiumbook_bf = Font.new("GentiumBookPlus-Bold", "GentiumBookPlus-Bold", "gentiumbook-bold")
+font_gentiumbook_bi = Font.new("GentiumBookPlus-BoldItalic", "GentiumBookPlus-BoldItalic", "gentiumbook-bolditalic")
+fontlist_book = [font_gentiumbook_rm, font_gentiumbook_it, font_gentiumbook_bf, font_gentiumbook_bi]
+
encodings.each_value do |encoding|
# generate 'enc' files for small caps
if encoding.has_smallcaps? then
@@ -40,6 +46,9 @@
fontlist.each do |font|
font.generate_tfms(encoding)
end
+ fontlist_book.each do |font|
+ font.generate_tfms(encoding)
+ end
end
More information about the gentium-commits
mailing list.