Re: 請教設定 lilypond 三問
非常感謝 李大前輩替我努力測試 :)
只是 晚輩才疏學淺,
不懂該要如何將 LilyPond 字型目錄加入 local.fonts
是有這個目錄: /usr/local/share/lilypond/2.6.3/fonts
看了一下 man fc-cache ...
是這樣嗎:
cd /usr/local/share/lilypond/2.6.3/fonts
fc-cache
fc-cache /usr/local/share/lilypond/2.6.3/fonts
然後跑,結果仍然是:
programming error: FT_Get_Glyph_Name() returned error
但若
lilypond -b svg utf.ly
就有 utf.svg 出來
我試從 ports 裝了 boehm-gc , inkscape , 及 sodipodi ...
[root /usr/ports/devel/boehm-gc]# make install
....
===> Compressing manual pages for boehm-gc+threaded+redirect-6.5
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for boehm-gc+threaded+redirect-6.5
(看起來 boehm-gc 是成功了 :)
再來 sodipodi
[root /usr/ports/graphics/sodipodi]# make install
# which sodipodi
/usr/X11R6/bin/sodipodi
好像 sodipodi 有了 :)
再來 inkscape 0.42.2
[root /usr/ports/graphics/inkscape]# make install
.......
checking libgc version 6.4+... Segmentation fault (core dumped)
no
configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed
to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
===> Script "configure" failed unexpectedly.
Please direct the output of the failure of the make command to a file, and
then feed that file to the gnomelogalyzer, available from
http://www.freebsd.org/gnome/gnomelogalyzer.sh, which will diagnose the
problem
and suggest a solution. If - and only if - the gnomelogalyzer cannot solve
the problem, report the problem to the FreeBSD GNOME team at
gnome@FreeBSD.org,
and attach "/usr/ports/graphics/inkscape/work/inkscape-0.42.2/config.log"
and
the output of the failure of the make command. Also, it might be a good
idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
(他說找不到 libgc ;但之前以裝了 boehm-gc 6.5)
故, 只能用 sodipodi .
是這樣用嗎?
# sodipodi -z -f utf.svg -e utf.png
如何作成 ps 及 pdf 呢?
還有, 我用 texmaker 作 editor,
且定 editor font encoding 為 utf-8
測試結果放在此
http://neuro.ohbi.net/neuro/utf/
都不太成功說...
<: 老音學生 :>
===
"L.G.J." <Edward.bbs@bbs.sayya.org> 撰寫於郵件新聞:4K9HO4$kjv@bbs.sayya.org...
>※ 引述《Edward (L.G.J.)》之銘言:
>> > 1. 這個檔,一定是要 UTF-8 編碼。
>> > 2. 請暫時使用 SVG backend 試試看:
>> > lilypond -b svg utf.ly
>> > 然後再由 inkscape 或 sodipodi 轉成所需要的點陣圖。
>> ^^^^^^
>> 更正,可轉成 ps/eps 檔後再做其他處理:
>> http://edt1023.sayya.org/lily/
>> 直接轉 ps/eps,請詢問作者,他目前正在處理這方面的工作。
>
> 抱歉,請重新下載,字型沒有置放好。
>
> LilyPond 字型目錄請加入 local.fonts 中。
>
> <dir>/usr/local/share/lilypond/2.6.3/fonts</dir>
>
> 執行 fc-cache 後,再來執行 lilypond。
>
> http://edt1023.sayya.org/lily/
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章