On 2017/12/6 21:34, James Harkins wrote:
I have:

\header {
   dedication = "为星海音乐学院的电脑乐团,2017年秋天"

You may have to set the font that could be used for the simplified Chinese characters. Something like:

dedication = \markup \override #'(font-name . "SimHei") "为星海音乐学院的电脑乐团,2017年秋天"

SimHei is the postscript name of a specific Simplified Chinese (sans) font. You may replace it with the one installed on your platform.

Best,
Jinsong

   .....
}

(Roughly, "For the Xinghai Conservatory Fall 2017 Laptop Orchestra" with no 
assurance of absolute correctness in the Chinese.)

I get:

Converting to `./test.pdf'...
warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite 
-sOutputFile=./test.pdf -c.setpdfwrite -ftest.ps)' failed (256)

fatal error: failed files: 
"/media/dlm/7D53-8744/Docs/xinghai/17-18-fall/lork/score/test.ly"

I'm guessing it's looking for a specific CJK (Chinese-Japanese-Korean) font and 
not finding it.

Which one should I install?

I have used Chinese characters in LilyPond before, but this is a new machine. I 
must have missed something while setting it up.

Thanks.
hjh



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to