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

Re: [cle-devel] Re: [cle-devel] 請問一下CLE的各位大大



On Sun, Dec 12, 1999 at 01:28:07AM +0000, Jonathan Chang wrote:
> $ xset fp+ tcp/localhost:7100
> xset:  bad font path element (#38), possible causes are:
>     Directory does not exist or has wrong permissions
>     Directory missing fonts.dir
>     Incorrect font server address or syntax

  請改用

	$ xset fp+ unix/:7100

  不能用 tcp 的原因: no-listen = tcp,以保安全,防止外人入侵。 ^_^

> 以下是我的/etc/X11/xfs/config: (catalogue最後一個 /usr/share/fonts/truetype
> 是我的truetype font moe_kai.ttf放的地方)

  如果你裝了 ttf-twmoe-kai,建議改用 /usr/lib/X11/fonts/TrueType,
因為 /usr/share/fonts/truetype 那裏沒有 fonts.scale 和 fonts.alias.  :-)
Anthony Wong 已經細心為你自動在 /usr/lib/X11/fonts/TrueType 安裝好
fonts.scale 和 fonts.alias 了。 ^_^

> -----------------------------------------------------------------
> # /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/share/fonts/truetype/
> # in decipoints
> default-point-size = 120
> # x1,y1,x2,y2,...
> default-resolutions = 75,75,100,100
> deferglyphs = 16
> port = 7100
> ----------------------------------------------------------------
> 我的/usr/share/fonts/truetype/fonts.dir 內容如下:
> ----------------------------------------------------------------
> 1
> moe_kai.ttf -twmoe-ttfkai-medium-r-normal--0-0-0-0-c-0-big5-0
> ----------------------------------------------------------------

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
anthony_fok@catholic.org             Keep smiling!  *^_^*
Come visit Our Lady of Victory Camp -- http://come.to/olvc


Reply to: