Re: 請教 lilypond 中文 utf-8 font (freeBSD)
感謝 Edward 李大夫
> 其他的 pango/fontconfig 會自動處理
怕是否我有哪裡沒設好, 所以它才不會自動處理 ?
看我的 utf8.ly :
\version "2.10.5"
\header {}
chinese = \lyricmode { 三民主義 吾黨所宗 }
{
\key c \major
\time 4/4 \partial 8 c'4 c'2. e'4 e'2. g'4 g'2. e'4 d'2.
}
\addlyrics { \chinese }
跑下去,他說:
[neuro@neuro ~/www/lilypond/test]$ lilypond utf-8.ly
GNU LilyPond 2.10.5
Processing `utf-8.ly'
Parsing...
Interpreting music... [1]
Preprocessing graphical objects...
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+1000543E, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10009EE8, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10006240, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10005B97, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10004E09, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10006C11, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10004E3B, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
programming error: FT_Get_Glyph_Name returns error
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10007FA9, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
continuing, cross fingers
Layout output to `utf-8.ps'...
Converting to `utf-8.pdf'...
結果跑出五線譜 .ps .pdf 無誤,只是沒有中文.
看這個 error message 可以知道徵節在哪嗎?
拜託啦~ 謝謝啦~
Happy New Year ^_^
~ 老音學生 ~
===
"蒙古大夫 2.0" <Edward.bbs@bbs.sayya.org> 撰寫於郵件新聞:4RjjH5$l9k@bbs.sayya.org...
>※ 引述《goaway@nowhere.not (老音學生)》之銘言:
>> ok, 那麼, 請問 freeBSD 要去哪裝那些 [utf-8] fonts? (: 不好意思, 問得蠢問題...
>> :)
>
> 你需要使用什麼語言就裝什麼語言的字型,其他的 pango/fontconfig
> 會自動處理。
>
> 這裡有簡單的例子:
>
> http://edt1023.sayya.org/lily/
>
>> 也曾去抓過 nsungt1-1.3.3.tar.gz 來裝, 但是, so what ? ( 不會使用哩~ )
>> 裝完後要怎樣 給 lilypond 叫 ?
>
> 那是給 LaTeX CJK 用的。
>
> 建議訂閱他們的 mailing list 來詢問,因為 lilypond 的版本變動太快,
> 要直接問開發者才會知道。
>
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
討論串 (同標題文章)
完整討論串 (本文為第 3 之 17 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章