hns - 日記自動生成システム - Version 2.19.9

先月 2010年12月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2010年12月19日() 旧暦 [n年日記] [更新:"2010/12/20 08:42:11"]

#1 [pkgsrc] tgif で書いた日本語を gs で見る

きのうの Ryumin-Light-H の続きで、今度は、6年くらい前に作った tgif の中にある日本語 が、生成した .eps を gs で見ると、表示出来なかった。
tgif の方は、 以前に書いた 通りで、
  1. ~/.Xresource-tgif に設定する
  2. xrdb -m ~/.Xresource-tgif で読む
  3. env LANG=ja_JP.eucJP tgif で起動
  4. W のような文字が書いてある書体の設定のメニューで「Ryumin」を選ぶ
のように入力して、その後に、印刷出力の設定で LaTeX(EPS) を選んでおいて ^P すると *.eps が生成される。 これを gs で見る(あるいは LaTeX の includegraphics で参照する)場合には、
/Ryumin-Light-EUC-H
/EUC-H /CMap findresource
[/WadaMin-Regular /CIDFont findresource]
composefont pop
のようなものを、/usr/pkg/share/ghostscript/8.71/Resource/Font に置いておけば良い。

#2 [機械] ML-115 G1 と G5 の間で disk 交換

手元に ML-115 の G1 と G5 がある。 Xen を使って、一つの箱の中に、いくつもサーバを用意する、というような ことを良くやっているが、今の Xen は MP(Multi Processor) が利用出来ない。
ModelMP?CPUdisk
G1singleAthlon 3500+250G x 4 (RAID)
G5dual4450B80G + 250G
それで、たまたま、上記のような組合せで disk を入替えたかった。 まあ、以上の話はどうでも良い訳だけれど、結構意外だったのは、 G1 は SATA x 4 なのに G5 の方は SATA x 6 が付いていて DVD/ROM も SATA だった。また SATA の基板上のコネクタの向きが 180度反転している。
それで、この
G1 ,single , Athlon 3500+, 80G + 250G
に NetBSD/i386 5.1 を入れている。実は 5.1 ははじめて。

#3 [pkgsrc] ghostscript again

I have NetBSD/i386 5.1 installed cleanly. And packages following ones only.
u4@makoto 00:28:40/101220(~)% pkg_info -u
zsh-4.3.10nb2       The Z shell
sudo-1.7.4p4nb1     Allow others to run commands as root
pkglint-4.94        Verifier for NetBSD packages
rsync-3.0.7         Network file distribution/synchronisation utility
modular-xorg-apps-1.5 Modular Xorg application meta-package
modular-xorg-drivers-1.4 Modular Xorg driver meta-package
modular-xorg-fonts-1.1 Modular Xorg font meta-package
modular-xorg-libs-1.0nb1 Modular Xorg library meta-package
ghostscript-8.71nb6 Postscript interpreter
adobe-cidfonts-20000901 Adobe CID-keyed O'Reilly fonts for CJK
ghostscript-cidfonts-20000901nb2 CIDFont resources for Ghostscript
ipafont-00302       IPA JIS X 0213 fonts (Gothic, P Gothic, Mincho, and P Mincho)
u4@makoto 00:28:45/101220(~)% 
gs (ghostscript) doesn't seem reading cidfmap in either
/usr/pkg/share/ghostscript/8.71/Resource/Init/cidfmap
/usr/pkg/share/ghostscript/8.71/lib/cidfmap
./cidfmap
ghostscript-8.61 seems to have the problem not reading cidfmap from the location historically used. It seems me, --disable-compile-inits is important to have following file to be effective.
 % cat  /usr/pkg/share/ghostscript/8.71/Resource/Font/Ryumin-Light-H
 /Ryumin-Light-H 
 /H /CMap findresource
 [/WadaMin-Regular /CIDFont findresource]
 composefont pop
Debian の場合 (武藤さんからの提案・報告など)

hns:

PRE .. /PRE の中に、/ で始まる行があると、変になる。



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)