From 374e1f9457174583b122bcf55cc1b2a66b1bba51 Mon Sep 17 00:00:00 2001 From: Ryan Baumann Date: Mon, 4 Jan 2016 11:48:02 -0500 Subject: [PATCH 1/2] Use different font list and exposures for "lat" language training --- training/language-specific.sh | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/training/language-specific.sh b/training/language-specific.sh index 384536d03e..4d2655e4af 100755 --- a/training/language-specific.sh +++ b/training/language-specific.sh @@ -69,6 +69,35 @@ LATIN_FONTS=( "DejaVu Sans Ultra-Light" \ ) +# List of fonts for printed/neo-Latin ('lat' language code, different from Latin script) +NEOLATIN_FONTS=( + "GFS Bodoni" \ + "GFS Bodoni Bold" \ + "GFS Bodoni Italic" \ + "GFS Bodoni Bold Italic" \ + "GFS Didot" \ + "GFS Didot Bold" \ + "GFS Didot Italic" \ + "GFS Didot Bold Italic" \ + "Cardo" \ + "Cardo Bold" \ + "Cardo Italic" \ + "Wyld" \ + "Wyld Italic" \ + "EB Garamond" \ + "EB Garamond Italic" \ + "IM FELL DW Pica PRO" \ + "IM FELL English PRO" \ + "IM FELL Double Pica PRO" \ + "IM FELL French Canon PRO" \ + "IM FELL Great Primer PRO" \ + "IM FELL DW Pica PRO Italic" \ + "IM FELL English PRO Italic" \ + "IM FELL Double Pica PRO Italic" \ + "IM FELL French Canon PRO Italic" \ + "IM FELL Great Primer PRO Italic" \ +) + EARLY_LATIN_FONTS=( "${FRAKTUR_FONTS[@]}" \ "${LATIN_FONTS[@]}" \ @@ -853,6 +882,9 @@ set_lang_specific_parameters() { FILTER_ARGUMENTS="--make_early_language_variant=ita" TEXT2IMAGE_EXTRA_ARGS=" --ligatures" # Add ligatures when supported. test -z "$FONTS" && FONTS=( "${EARLY_LATIN_FONTS[@]}" );; + lat ) + test -z "$EXPOSURES" && EXPOSURES="-3 -2 -1 0 1 2 3" + test -z "$FONTS" && FONTS=( "${NEOLATIN_FONTS[@]}" ) ;; spa_old ) TEXT_CORPUS="${FLAGS_webtext_prefix}/spa.corpus.txt" # Make long-s substitutions for Early Spanish text @@ -893,7 +925,6 @@ set_lang_specific_parameters() { isl ) ;; ita ) ;; jav ) ;; - lat ) ;; lav ) ;; lit ) ;; mlt ) ;; From f86b0547270d7fd465249b791498a37e23b470f0 Mon Sep 17 00:00:00 2001 From: Ryan Baumann Date: Wed, 13 Jan 2016 10:15:57 -0500 Subject: [PATCH 2/2] Add Junicode to neo-Latin fonts --- training/language-specific.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/training/language-specific.sh b/training/language-specific.sh index 4d2655e4af..a62f1e3cf3 100755 --- a/training/language-specific.sh +++ b/training/language-specific.sh @@ -86,6 +86,10 @@ NEOLATIN_FONTS=( "Wyld Italic" \ "EB Garamond" \ "EB Garamond Italic" \ + "Junicode" \ + "Junicode Bold" \ + "Junicode Italic" \ + "Junicode Bold Italic" \ "IM FELL DW Pica PRO" \ "IM FELL English PRO" \ "IM FELL Double Pica PRO" \