]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 952 / 1: Add font settings for Unicode demonstration .ly files
authorMasamichi Hosoda <trueroad@trueroad.jp>
Sun, 9 Aug 2015 01:17:43 +0000 (10:17 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Mon, 17 Aug 2015 12:17:53 +0000 (21:17 +0900)
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
input/regression/utf-8.ly

index c4cdb0b8427af96862604bcc544a4351dea13961..51a2dd601f518a07ffc727a198b75b63e22d061e 100644 (file)
@@ -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 = {
index bfcc8cb3099dceaab880db5786b6569194e99dea..44a716e800c962e5a40898c770cc7155a8c171a8 100644 (file)
@@ -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 {
   Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.