lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /markup with Chinese character failure


From: Dario Marrini
Subject: Re: /markup with Chinese character failure
Date: Sat, 2 May 2020 18:14:30 +0200

Solved, I have a Linux MInt 19.3 OS (the same as Ubuntu 18.04), I installed the font Noto serif CJK SC and now it's working well...
thanks to all

dario

Il giorno ven 1 mag 2020 alle ore 19:24 Max Xiong <address@hidden> ha scritto:
Hi Dario,
First you need to install a Chinese font. It appears that your system cannot find one.
If you are using the latest version of lilypond, it is possible to change the config for the default lilypond fonts. There should be a file called 00-lilypond-fonts.conf on your system. You can add a line in there with your newly installed font. For example,
<family>DejaVu Serif</family>
<family>Noto Serif CJK SC</family>

Alternatively, you can use font-name override if you do not want to change fontconfig files. However, this can become fairly messy if there are a lot of changes between Chinese and English:
\markup{\concat{
  {\override #'(font-name . "Noto Sans CJK SC") 我在用}
  lilypond
  {\override #'(font-name . "Noto Sans CJK SC") 制作乐谱}
}


Max

On Thu, 30 Apr 2020 at 05:27, Dario Marrini <address@hidden> wrote:
Hi musicians,
I'm trying to append a Chinese translation of a simple 7markup text I have in a little book, I copied the Chinese text from Google Translator, but I don't get it into the pdf.
I attach the screenshot to let you see. How can I get it?
regards

dario

reply via email to

[Prev in Thread] Current Thread [Next in Thread]