From e2edc359fa9dde5e9811e71802baa0a033692920 Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda Date: Sun, 9 Aug 2015 10:17:43 +0900 Subject: [PATCH] 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. --- input/regression/typography-demo.ly | 9 +++++++++ input/regression/utf-8.ly | 11 +++++++++++ 2 files changed, 20 insertions(+) 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 { Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон. -- 2.39.2