看板FreeBSD
标 题Re: 请教设定 lilypond 三问
发信站Shaw Residential Internet (Sun Sep 11 19:09:28 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!newshub.sdsu.edu!peer01.west.cox.net
非常感谢 李大前辈替我努力测试 :)
只是 晚辈才疏学浅,
不懂该要如何将 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
[email protected],
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." <
[email protected]> 撰写於邮件新闻:
[email protected]...
>※ 引述《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/