diff options
author | Masamichi Hosoda <trueroad@trueroad.jp> | 2015-08-09 10:17:43 +0900 |
---|---|---|
committer | Masamichi Hosoda <trueroad@trueroad.jp> | 2015-08-17 21:17:53 +0900 |
commit | e2edc359fa9dde5e9811e71802baa0a033692920 (patch) | |
tree | 24e7ace5f036cf09d954e6a4c873c9569e333bb4 | |
parent | 72e52a84990e76a54e8fd7b1674485c3ce9351d8 (diff) |
Issue 952 / 1: Add font settings for Unicode demonstration .ly files
To replace Century Schoolbook font to TeX Gyre Schola,
this commit adds Unicode fonts `Linux Libertine' settings
to Unicode demonstration .ly files.
Linux Libertine fonts contain Cyrillic and Hebrew glyphs,
not only Latin glyphs.
-rw-r--r-- | input/regression/typography-demo.ly | 9 | ||||
-rw-r--r-- | input/regression/utf-8.ly | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/input/regression/typography-demo.ly b/input/regression/typography-demo.ly index c4cdb0b842..51a2dd601f 100644 --- a/input/regression/typography-demo.ly +++ b/input/regression/typography-demo.ly @@ -22,6 +22,15 @@ ignoreMelismaOff = \unset ignoreMelismata line-width = #(* mm 140) system-system-spacing.basic-distance = #10.3 ragged-bottom = ##t + + % Font settings for Cyrillic and Hebrew + % Linux Libertine fonts contain Cyrillic and Hebrew glyphs. + #(define fonts + (set-global-fonts + #:roman "Linux Libertine O" + #:sans "Linux Biolinum O" + #:typewriter "Linux Libertine Mono O" + )) } modernAccidentals = { diff --git a/input/regression/utf-8.ly b/input/regression/utf-8.ly index bfcc8cb309..44a716e800 100644 --- a/input/regression/utf-8.ly +++ b/input/regression/utf-8.ly @@ -29,6 +29,17 @@ will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese. } +% Font settings for Cyrillic and Hebrew +% Linux Libertine fonts contain Cyrillic and Hebrew glyphs. +\paper { + #(define fonts + (set-global-fonts + #:roman "Linux Libertine O" + #:sans "Linux Biolinum O" + #:typewriter "Linux Libertine Mono O" + )) +} + % Cyrillic font bulgarian = \lyricmode { Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон. |