看板FreeBSD
标 题Re: 请教 lilypond 中文 utf-8 font (freeBSD)
发信站Shaw Residential Internet (Thu Jan 4 02:21:31 2007)
转信站ptt!ctu-reader!ctu-peer!news.nctu!newshub.sdsu.edu!newscon04.news.prod
说感谢其实还不够,实在是非常 感激 Edward 李大佬还愿意指示迷津... ^_^~..
> inkscape 需要完整能用的 X 系统及 gtk+2/gtkmm。
最早 灌时没选 x-window, 但现已重装了
x-org
/usr/ports/x11-toolkits/gtk20
/usr/ports/x11-toolkits/gtkmm24
/usr/ports/x11-toolkits/pango
.... etc
> http://edt1023.sayya.org/fontconfig/fontconfig-user.html
我想这正是我这个问题 的重点吧
我的 /usr/local/etc/ 及 /etc/ 内都没有 fonts/ 目录.
这目录及目录内的设定档, 不会是要自己手写到处去找再 copy 来吧 !?
可否请指示一下,要去哪制作一些 default 档?
我已先从上面网页 copy 其中的 /usr/local/etc/fonts/fonts.conf 了 - 是要这样吗!?
(然後每次再手动修改 /usr/local/etc/fonts/fonts.conf 新增自己 ftp 抓来 或
/usr/ports/x11-fonts/ 新灌的字型档吗?
或是 fontconfig 会自己处理?)
....... ?
> 也有可能是在编译 lilypond 时,制作字型出了问题(这有时会发生)。
所以, 大概是 fontconfig 的问题, 而非 lilypond 的问题.
(果然以前我在 (g)make configure install 时,有见过 lilypond 这种情况 - 前置套件没准备好的话 :)
-- 现在用 installer 轻松愉快 :)
请 不吝续 指教
~ 老音学生 ~
===
"蒙古大夫 2.0" <
[email protected]> 撰写於邮件新闻:
[email protected]...
>※ 引述《
[email protected] (老音学生)》之铭言:
>> 我的版本 lilypond 2.10.6 + Inkscape 0.44.1 (Jan 2 2007)
>
> 建议如果很需要这个软体,而编译又常常出问题,请使用人家编译
> 好的 binary package。
>
>> 1
>> > put your lilypond font path to local.conf.
>> 关於这个~ 恕本人有点迷糊...
>> How?
>
> http://edt1023.sayya.org/fontconfig/fontconfig-user.html
>
>> 2
>> > lilypond -b svg utf-8.ly
>> [user]$ lilypond -b svg utf-8.ly
>> GNU LilyPond 2.10.6
>> 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+10004E09, file
> ^^^^^^^^^^
> Unicode 有这个字吗?
>
>> /usr/local/lilypond/usr/share/lilypond/current/fonts/otf//CenturySchL-Roma.otf
>> continuing, cross fingers
>> Layout output to `utf-8.svg'...
>
> 也有可能是在编译 lilypond 时,制作字型出了问题(这有时会发生)。
>
>> 3.
>> [user]$ inkscape utf-8.svg
>> (inkscape:50890): Gdk-CRITICAL **: gdk_display_list_devices: assertion
>> `GDK_IS_DISPLAY (display)' failed
>> 是否须要调整 inkscape ?
>> 不知要如何调?
>> 请续不吝指示
>
> inkscape 需要完整能用的 X 系统及 gtk+2/gtkmm。