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

[mgp-users-jp 01347] Re: Xft2 and magicpoint 1.10a



>  > 状況としては、いろいろフォントの指定をしても
>  > 日本語が全く表示されません。
> とりあえず iconvがインストールされているかチェックしてください。
> もしインストールされていなかったら、インストールしてmgpを buildして下さい。

インストールされてる、はずです。
NetBSD-currentなので、citrus iconvがlibcに
入っています。
config.statusにも-DHAVE_ICONV=1が入ってます。

ただ、fc-listの出力結果の日本語フォント名が
文字化けしているので、何かがおかしいのかなあ、
とは思いますが。
UTF-8で出てくるはずですよね。

> mgpから「直接」 freetype engineを使う場合、freetype1しかサポートしていない
> ということです。xft2は freetype2を使わないと駄目です。

私のところでは、freetype1とfreetype2の両方が
インストールしてあると以下のようなよく見る
エラーになるんですが、xft engineとfreetype
engineは同時には使えないということでしょうか?
それとも何か勘違いをしているのかな、私は。

sally$ make
rm -f mgp.o
gcc -c -O2      -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO      -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_VARARGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DHAVE_LIBINTL=1 -DHAVE_LIBTTF=1 -DFREETYPE=1 -DHAVE_TT_FACE_PROPERTIES_CHARMAPS=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DFREETYPE_CHARSET16=1 -DMNG=1 -DUSE_GIF=1  -DMGPLIBDIR=\"/usr/X11R6/lib/X11/mgp\" -I/usr/p!
kg/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2   -I/usr/pkg/include/freetype  -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/pkg/include -I/usr/pkg/include mgp.c
In file included from mgp.h:67,
                 from mgp.c:34:
/usr/X11R6/include/X11/Xft/Xft.h:58: error: parse error before "_XftFTlibrary"
/usr/X11R6/include/X11/Xft/Xft.h:58: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:92: error: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:92: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:95: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:95: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:99: error: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:99: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:102: error: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:102: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:196: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:262: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:268: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:301: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:360: error: parse error before "XftLockFace"
/usr/X11R6/include/X11/Xft/Xft.h:360: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:399: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:405: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:414: error: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:424: error: parse error before "XftCharIndex"
/usr/X11R6/include/X11/Xft/Xft.h:426: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:467: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:478: error: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:499: error: parse error before '*' token
*** Error code 1

Stop.
make: stopped in /home/src/magicpoint-current
sally$ 
-- 
iかわもと よしひさ!
                   kawamoto@tenjin.org