min:\
:fc=microsoft-mincho:
goth:\
:fc=microsoft-gothic:
また、vfontcap の fc を辿っていった先の、ff が正しくない場合には、
これを直す。ktest - f min などで check。英字がトラブルが出た場合に
は pkfonts600 を install する。
clone-self = on
use-syslog = off
catalogue = /usr/local/share/fonts/TrueType/,/usr/local/share/fonts/truetype/
error-file = /usr/X11R6/lib/X11/fs/fs-errors
# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100
/usr/X11R6/bin/xfs.xtt &
xset fp+ inet/localhost:7100
xset fp rehash
xlsfonts | grep ricoh
#!/bin/sh
[ -x /usr/X11R6/bin/xfs.xtt ] && exec /usr/X11R6/bin/xfs.xtt& && echo -n ' Xfstt'
lp|ps|ps printer (remote):\
:sh:rm=remote-printer-server-name:rp=remote-ps-printer-name:lf=/var/log/lpd-errs:\
:sd=/var/spool/lpd/lp:if=/usr/local/libexec/lpr/ps2psf:
/usr/libexec/lpr/ps2psf の内容は
#! /bin/sh -
/usr/local/bin/gs -sDEVICE=pswrite -dNOPAUSE -dBATCH -dSAFER -q -sOutputFile=- -
exit 0
ps2ps の役割は、漢字をビットマップにすることであるので、日本語対応
していないプリンタでも打ち出しが可能となる。printer server 側の
print.allow を設定する。
lp|ps|EPSON LP-1700 ps printer:\
:sh:lp=/dev/lpt0:lf=/var/log/lpd-errs:\
:sd=/var/spool/lpd/lp:if=/usr/local/libexec/lpr/ps2epagf:
/usr/libexec/lpr/ps2epag の内容は
#! /bin/sh -
/usr/local/bin/gs -q -dNOPAUSE -dBATCH -dSAFER -dEpagEpsonRemote -sPAPERSIZE=a4 -sDEVICE=epag -r600 -sOutputFile=- -
exit 0
である。
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
-ricoh-ms mincho-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V\n\
-ricoh-ms gothic-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V
Tgif.DoubleByteInputMethod: kinput2
...
4行ずつ同じものを書いているが、間違いではない。これで Tgif で
mincho、gothic などが使える。xset fp+ /usr/local/share/ghostscript/fonts/ xset fp rehash xlsfonts | grep aladdin
FontPath "/usr/local/share/ghostscript/fonts"
を入れる。
rml Ryumin-Light-H <`r-microsoft-mincho
gbm GothicBBB-Medium-H <`r-microsoft-gothic
rmlv Ryumin-Light-V <`r-microsoft-mincho
gbmv GothicBBB-Medium-V <`r-microsoft-gothic
この右側を変えれば /mc と /gt に対し、異なるフォントが対応するよう
になる。