On Wed, 1 Nov 2000, Chih-Wei Huang wrote: > Jonathan Chang 寫道: > > > fstobdf -s "unix/:-1" -fn taipei16 > > > > 謝謝,但是我執行的結果是(xlsfonts裡確定有taipei16): > > $ fstobdf -s "unix/:-1" -fn taipei16 > > _FSTransSocketUNIXConnect: Can't connect: errno = 111 > > can't open font server "unix/:-1" > > > > BTW,我想用這招轉出文鼎的明體: > > $ fstobdf -s "unix/:7100" -fn \ > > -default-ming-medium-r-normal--24-240-72-72-c-240-big5-0 >default-ming.bdf > > 你的 xfs server 究竟是 bind UNIX port -1 > or TCP port 7100? > 若為前者的話才用 "unix/:-1", > 若是後者應用 "tcp/:7100" > > RH(CLE) default 是用 UNIX port. > Debian 的話我就不曉得了... > 看看你的 /etc/X11/fs/config 怎麼設的吧... >
我看了/etc/X11/xfs/config (see attached) 裡面倒是沒有記載port number, [EMAIL PROTECTED] no-listen = tcp 我採用"unix/:7100"的原因是Debian取用文鼎ttf字型都得要加入"unix/:7100" 這個fontpath來向xfs-xtt取字型。 對這個xfs我還是很外行啦! [EMAIL PROTECTED] Jonathan
# /etc/X11/xfs/config # # X font server configuration file # allow a maximum of 10 clients to connect to this font server client-limit = 10 # when a font server reaches its limit, start up a new one clone-self = on # log errors using syslog use-syslog = on # turn off TCP port listening (Unix domain connections are still permitted) no-listen = tcp # paths to search for fonts catalogue = /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/TrueType/ # in decipoints default-point-size = 120 # x1,y1,x2,y2,... default-resolutions = 75,75,100,100 deferglyphs = all # font cache control, specified in KB cache-hi-mark = 2048 cache-low-mark = 1433

