]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/utf8.ly
* lily/pfb.cc (LY_DEFINE): ly:ttf->pfa, new function.
[lilypond.git] / input / regression / utf8.ly
1 \version "2.5.10"
2
3 % Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs
4
5 %{
6
7 I installed some additional font packages to get this working.
8
9 taipeifonts 
10 fonts-xorg-truetype 
11 ttfonts-ja 
12 fonts-arabic 
13 ttfonts-zh_CN 
14 fonts-ja 
15 fonts-hebrew 
16
17 %} 
18
19 \header {
20
21   texidoc = "Various scripts may be used for texts (like titles and
22 lyrics) introduced by entering them in UTF-8 encoding, and using a
23 Pango based backend. Depending on the fonts installed, this fragment
24 will render Japanese, Hebrew and Cyrillic.
25
26 "
27   
28 }
29
30
31 japanese = \lyricsto "melody" \new Lyrics {  
32
33   いろはにほへど ちりぬるを
34   わがよたれぞ  つねならむ
35   うゐのおくや  まけふこえて
36   あさきゆめみじ ゑひもせず 
37
38  }
39
40
41 bulgarian = \lyricsto "melody" \new Lyrics {
42
43     Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
44
45 }
46
47 hebrew = \lyricsto "melody" \new Lyrics { 
48 זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן.
49 }
50
51 % latin1 section start
52
53  <<
54   \context Voice = "melody" \relative  { 
55      c2 d e f g f e 
56   } 
57   \hebrew
58   \bulgarian
59
60   %% no support for TTF  yet.
61   
62   \japanese
63   
64 >>