view mule-doc/X11.jp @ 140:585fb297b004 r20-2b4

Import from CVS: tag r20-2b4
author cvs
date Mon, 13 Aug 2007 09:32:43 +0200
parents 131b0175ea99
children
line wrap: on
line source

X11$B$N2<$G(BMule$B$r<B9T$9$kJ}K!(B

------------------------------------------------------------
$BL\<!(B:
	1. $B%U%)%s%H!&%Q%9$N@_Dj(B
	2. $B%U%)%s%H$N9=C[(B
	3. $BDI2C%U%)%s%H(B
	4. Mule$B$N%U%)%s%HA*Br5!9=(B
------------------------------------------------------------

1. $B%U%)%s%H!&%Q%9$N@_Dj(B

Mule$B$r(BX$B%/%i%$%"%s%H$H$7$F<B9T$9$k$K$O!"(B
$B3FJ8;z=89g(B($BNc(B. GB2312 [$BCf9q8l(B], JISX0208 [$BF|K\8l(B])$BKh$K(B
X$B$N%U%)%s%H$,I,MW$G$"$k!#(B
$B<+J,$N(BX$B%5!<%P$GMxMQ$G$-$k%U%)%s%H$N0lMw$O!"(B
$B%3%^%s%I(B'xlsfonts'$B$K$h$C$F8+$k$3$H$,$G$-$k!#(B
	% xlsfonts | egrep -i gb2312
$B$H$9$l$P!"Cf9q8l(B(GB)$BMQ$N%U%)%s%H$K2?$,$"$k$+$,8+$l$k!#(B
	% xlsfonts | egrep -i jisx0208
$B$H$9$l$P!"F|K\8lMQ$N%U%)%s%H$K2?$,$"$k$+$,8+$l$k!#(B
	% xlsfonts | egrep -i ksc5601
$B$H$9$l$P!"4Z9q8l$N%U%)%s%H$K2?$,$"$k$+$,8+$l$k!#(B
	% xlsfonts | egrep -i big5
$B$H$9$l$P!"(BBig5$BMQ$N%U%)%s%H$K2?$,$"$k$+$,8+$l$k!#(B

$BI,MW$J%U%)%s%H$,8+$D$+$i$J$$$J$i$P!"!V%U%)%s%H!&%Q%9!W$r<!$N$h$&$K%A%'%C%/$9$k(B:
	% xset q
X11R5$B$N%G%U%)%k%H@_Dj$N2<$G$O!"F|K\8l$H4Z9q8l$N%U%)%s%H$O(B
$B%G%#%l%/%H%j(B/usr/lib/X11/fonts/misc$B$KCV$+$l$F$$$k!#(B
$B$3$l$i$N%G%#%l%/%H%j$,<+J,$N%U%)%s%H!&%Q%9$K$J$1$l$P!"<!$N$h$&$K@_Dj$9$k(B:
	% xset fp+ /usr/lib/X11/fonts/misc
$B$3$N$h$&$J%G%#%l%/%H%j$,$J$$$J$i$P!"<+J,$G(BBDF$B%U%!%$%k$+$i(BX$B$N%U%)%s%H$r(B
$B:n$i$J$1$l$P$J$i$J$$(B($B!V%U%)%s%H$N9=C[!W(B $B;2>H(B)$B!#(B

$B$3$l$G(BX$B>e$G(BMule$B$r<B9T$G$-$k!#(B
$B%G%U%)%k%H0J30$N%U%)%s%H$r;H$$$?$$$J$i$P!"(B
$B%3%^%s%I!&%i%$%s0?$O(BX$B$N%j%=!<%9!&%U%!%$%k$G;XDj$G$-$k(B
('man mule'$B$H$9$k$+!"%U%!%$%k(B'mule/etc/mule.1'$B$r8+$h(B)$B!#(B


2. $B%U%)%s%H$N9=C[(B

X11R5$B$O!"Bt;3$N%U%)%s%H(B(BDF$B7A<0(B)$BIU$-$GG[I[$5$l$F$$$k!#(B
X11R5/mit/fonts/bdf/misc$B2<$K$"$k$N$O<!$N$b$N(B:
	jiskan16.bdf, jiskan24.bdf ($BF|K\8l(B)
	hanglm16.bdf, hanglm24.bdf ($B4Z9q8l(B)
X11R5/contrib/clients/cxterm/fonts$B2<$K$"$k$N$O<!$N$b$N(B:
	cclib16st.bdf, cclib24st.bdf ($BCf9q8l(B GB)
	hku-ch16.bdf ($BCf9q8l(B Big5)
$B$3$l$i%U%!%$%k$+$i%U%)%s%H$r:n$k$?$a$K!"(B
$B%G%#%l%/%H%j$r:n$C$?J}$,$$$$(B($B$=$l$r(B${font}$B$H$9$l$P(B):
	% mkdir ${font}
	% cd ${font}
	% bdftopcf xxx/jiskan24.bdf >jiskan24.pcf
	% bdftopcf yyy/hanglm24.bdf >hanglm24.pcf
	...
	% mkfontdir
	% xset fp+ `pwd`
$BK\Ev$K$3$l$i%U%)%s%H$,;H$($kMM$K$J$C$?$+$I$&$+!"(B
$B%3%^%s%I(B'xlsfonts'$B$G%A%'%C%/$9$k!#(B
$B$b$7!"(BX11R4$B$r;H$C$F$$$k$N$J$i!"(B'bdftopcf'$B$NBe$o$j$K(B'bdftosnf'$B$r;H$&$3$H!#(B


3. $BDI2C%U%)%s%H(B

Mule$B$O(BX11R5$B$NG[I[$K$"$k%U%)%s%H0J30$N%U%)%s%H$bI,MW$H$9$k!#(B
$BNc$($P!"(BEGG$B$G(BcWnn$B$N(Bcserver$B$r;H$C$F$$$k>l9g!"(B
SiSheng$BJ8;z$N%U%)%s%H$bI,MW$G$"$k!#(B
Mule$B$N(Bftp$B%G%#%l%/%H%j2<$K$"$k(B'fonts'$B%G%#%l%/%H%j$K$O!"(B
$B$3$l$i$N%U%)%s%H$rCV$$$F$"$k!#(B


4. Mule$B$N%U%)%s%HA*Br5!9=(B

$B$"$kJ8;z=89g$K$I$N%U%)%s%H$r;H$&$+!"$r;XDj$9$kJ}K!$O4v$D$+$"$k!#(B

  (1) $B4X?t(B'set-x-default-font'$B$r8F=P$9!#(B
	lisp/mule-init.el$BCf$G!"(B
	$B$3$N4X?t8F$S=P$7$K$h$C$FKX$I$N%U%)%s%H$K%G%U%)%k%HCM$rM?$($F$$$k!#(B
	site-init.el$BCf$G!"$3$NCM$rJQ990?$ODI2C$9$k$N$O<+M3$G$"$k!#(B
	ASCII$B0J30$J$i!"8D?M$N(B.emacs$BCf$G$3$N4X?t$r;H$C$FJQ99$7$F9=$o$J$$!#(B
    	$B0J2<$,!"(B'set-x-default-font'$B$N@bL@$G$"$k(B:
	------------------------------------------------------------
	set-x-default-font:
    	$BBh(B1$B0z?t(BLEADING-CHAR$B$NJ8;z=89g$N%G%U%)%k%HCM$H$7$F!"(B
    	$BBh(B2$B0z?t(BFONTNAME$B$HBh(B3$B0z?t(BENCODING$B$r@_Dj$9$k!#(B
	------------------------------------------------------------
	mule-init.el$BCf$NNc(B:
	(set-x-default-font
	  lc-thai "-*-fixed-medium-r-*--*-*-*-*-*-*-tis620.2529-1" 1)

  (2) X$B$N%j%=!<%9!&%G!<%?%Y!<%9$G;XDj$9$k!#(B
    	Mule$B$N%^%K%e%"%k!&%Z!<%8(B(etc/mule.1)$B$r;2>H$N$3$H!#(B
    	$BI.<T$N(B~/.Xresources$B$+$i$NNc(B:
	*FontJP:		-*-fixed-medium-r-*--*-*-jisx0208.1983-*
	*FontLTN1:		-ETL-Fixed-Medium-R-Normal--*-*-ISO8859-1

  (3) Mule$B$N%3%^%s%I!&%i%$%s0z?t$G%U%)%s%H$r;XDj$9$k!#(B
    	Mule$B$N%^%K%e%"%k!&%Z!<%8(B(etc/mule.1)$B$r;2>H$N$3$H!#(B
	$BNc(B:
	% mule -fn a14 -fnjp k14

  (4) $B4X?t(B'x-set-font'$B$N8F$S=P$7$K$h$k!#(B
    	$B$3$l$,%U%)%s%H$rF0E*$KJQ99$9$kM#0l$NJ}K!!#(B
    	$B0J2<$,(B'x-set-font'$B$N@bL@!#(BGNU Emacs$B%*%j%8%J%k$N3HD%$G$"$k$3$H$KCm0U!#(B
    	Mule$B$N(Bdump$BCf(B($B:n@.;~(B)$B$K$O;H$($J$$!#(B
	------------------------------------------------------------
	x-set-font:
    	X$B%&%#%s%I%&$G;HMQ$9$k%U%)%s%H$r@_Dj$9$k!#(B
    	$B%W%m%0%i%`Cf$G8F=P$9>l9g!"0z?t$,(B3$B$D;XDj$G$-$k!#(B
	 FONTNAME, LEADING-CHAR (0 $B0?$O(B 0x81..0xFF), $B$H(B ENCODING (0 $B$+(B 1)$B!#(B
	LEADING-CHAR $B$H(B ENCODING $B$N%G%U%)%k%HCM$O(B 0$B!#(B
    	$B%U%)%s%H$N%m!<%I$K@.8y$9$l$P!"(Bt$B$rJV$7!"$5$b$J$/$P(Bnil$B$rJV$9!#(B
	------------------------------------------------------------
	$BNc(B:
	ESC ESC (x-set-font "k14" lc-jp 0)<CR>

$BM%@h=g0L$O!"<!$N=g(B: (1) < (2) < (3) < (4)

$B$I$N%U%)%s%H$,%m!<%I$5$l$F$$$k$+$rCN$j$?$$>l9g!"(B'x-get-fontinfo'$B$r;H$&!#(B
------------------------------------------------------------
x-get-fontinfo:
LEADING-CHAR$B$NJ8;z=89g$N%U%)%s%H>pJs$r!"<!$N7A$N%j%9%H$GF@$k!#(B
  REQUESTED-NAME: $B%U%)%s%H!&%*!<%W%s$K;HMQ$7$?%U%)%s%HL>(B
  OPENED-NAME: $B<B:]$K%*!<%W%s$5$l$?%U%)%s%HL>(B
  OPENED: $B%U%)%s%H$,<B:]$K%*!<%W%s$5$l$?$J$i(Bt$B!"$5$b$J$/$P(Bnil
------------------------------------------------------------
OPEND-NAME$B$,(Bnil$B$G!"(BOPENED$B$,(Bt$B$J$i$P!"(B
REQUESTED-NAME$B$NBe$o$j$K(BASCII$B%U%)%s%H$,;H$o$l$F$$$k!#(B