]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/utf-8.ly
Issue 5148/2: three-sided-box snippet: use #:properties keyword
[lilypond.git] / input / regression / utf-8.ly
index 693122e9011b96c1a23179a75978c5e6ca3d3ea8..b5fefcf9231c8c9ef200c0d3f05358613d1a6884 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.7.39"
+\version "2.19.21"
 
 %% Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs
 
@@ -8,52 +8,67 @@ You may have to install additional fonts.
 
 Red Hat Fedora
 
-    taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \
-        ttfonts-zh_CN fonts-ja fonts-hebrew 
+       linux-libertine-fonts (Latin, Cyrillic, Hebrew)
+       ipa-mincho-fonts ipa-gothic-fonts (Japanese)
 
-Debian GNU/Linux
+Debian GNU/Linux, Ubuntu
 
-   apt-get install emacs-intl-fonts xfonts-intl-.* \
-       ttf-kochi-gothic ttf-kochi-mincho
+       fonts-linuxlibertine (Latin, Cyrillic, Hebrew)
+       fonts-ipafont (Japanese)
 
-%} 
+%}
 
 \header {
 
   texidoc = "Various scripts may be used for texts (like titles and
 lyrics) introduced by entering them in UTF-8 encoding, and using a
-Pango based backend. Depending on the fonts installed, this fragment
-will render Japanese, Hebrew, Cyrillic and Portuguese.
+Pango based backend.  Depending on the fonts installed, this fragment
+will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese.
 
 "
-  
-}
 
-japanese = \lyricmode {  
-  いろはにほへど ちりぬるを
-  わがよたれぞ  つねならむ
-  うゐのおくや  まけふこえて
-  あさきゆめみじ ゑひもせず 
- }
+}
 
+% Font settings for Cyrillic and Hebrew
+% Linux Libertine fonts contain Cyrillic and Hebrew glyphs.
+\paper {
+  #(define fonts
+    (set-global-fonts
+     #:roman "Linux Libertine O,serif"
+     #:sans "Linux Biolinum O,sans-serif"
+     #:typewriter "Linux Libertine Mono O,monospace"
+   ))
+}
 
+% Cyrillic font
 bulgarian = \lyricmode {
   Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
 }
 
-hebrew = \lyricmode { 
+hebrew = \lyricmode {
   זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן.
 }
 
-portuguese = \lyricmode { 
-  à vo cê uma can ção legal
+japanese = \lyricmode {
+  いろはにほへど ちりぬるを
+  わがよたれぞ  つねならむ
+  うゐのおくや  まけふこえて
+  あさきゆめみじ ゑひもせず
+}
+
+% "a legal song to you"
+portuguese = \lyricmode {
+  à vo -- cê uma can -- ção legal
 }
 
+\paper {
+  ragged-right = ##T
+}
 
-\relative  { 
-  c2 d e f g f e
+\relative {
+  c'2 d e f g f e
 }
-\addlyrics { \hebrew }
 \addlyrics { \bulgarian }
+\addlyrics { \hebrew }
 \addlyrics { \japanese }
 \addlyrics { \portuguese }