2006年6月23日

[ubuntu-ja-users:0375] Re: ps font unreadable

Zhidaoです。
曲がりなりにも解決したと思っていたpsの問題、defoma-reconfigure
したらまた読めなくなってしまいました。

1. gv --nosafer hoge.psすると、"ERROR: /rangecheck in --string--"
2. /usr/share/ghostscript/CMapに、UniJIS-UCS2-Hはちゃんとある。
3. dpkg-reconfigure cmap-adobe-japan1したら、「随意」「余分」双方
にマークされている(「余分」の方、覚えがないのに…何故?)。


また、英文も試してみた処、dvi2ps、dvipsともに挙動がおかしいことに
気付きました。

dvi2ps -d使うと、このメールの末尾に添付しているようなエラーが出て
psが出力されません。

dvipsの場合は、
dvips: ! Couldn't find header file 8r.enc
と言われます。8r.encは/usr/share/texmf-tetex/fonts/enc/dvips/
psnfss/の下に発見しましたので、/etc/texmf/texmf.d/70dvipsj.cnf

--
TEXPSHEADERS.dvips = .;$TEXMF/{dvipsj,dvips,pdftex,tex,fonts/type1,fonts/enc}//
--
のようにした後、
% update-texmf
すると、取り敢えず変換はできるようになります。ただしフォントが何
だか崩れます。次のように、フォントが崩れることを予告する警告も
出るのですが。
--
This is dvips(k) p1.7a Copyright 2005 ASCII Corp.(www-ptex@xxxxx)
based on dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2006.06.21:1228' -> hoge.ps
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+31/600 --dpi 631 dmjsy8
mktexpk: don't know how to create bitmap font for dmjsy8.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font dmjsy8 not found, characters will be left blank.
dvips: Can't open font metric file dmjsy8.tfm
dvips: I will use cmr10.tfm instead, so expect bad output.
dvips: Design size mismatch in dmjsy8.tfm
...
--
また、日本語はあいかわらず変換できないままです。

以上から、なんとなくの勘ですが、フォントのパス設定周りがおかしい
気がしてます。Breezy→Dapperでその辺りどうなったとか、あるいは
変わってないとか、情報が公開されていますでしょうか?


(dvi2psのエラーログ)
--
search file //fontdesc in +
search file fontdesc in lib /usr/share/texmf/dvi2ps+
open fontdesc /usr/share/texmf/dvi2ps/fontdesc
search file printer/PS600 in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/printer/PS600
search file configk in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/configk
search file header in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/header
search file headers/dvi2.ps in /usr/share/texmf/dvi2ps/+
search file headers/special.ps in /usr/share/texmf/dvi2ps/+
search file headers/color.ps in /usr/share/texmf/dvi2ps/+
search file headers/psifont.ps in /usr/share/texmf/dvi2ps/+
search file fontsk/ntt-bikanji in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/fontsk/ntt-bikanji
search file fontsk/asc-bikanji in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/fontsk/asc-bikanji
search file bikan-mor2 in /usr/share/texmf/dvi2ps/+fontsk/
open fontdesc /usr/share/texmf/dvi2ps/fontsk/bikan-mor2
search file fontsk/psfonts in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/fontsk/psfonts
search file psfonts.ps in /usr/share/texmf/dvi2ps/+fontsk/
search file psfonts-8r.map in /usr/share/texmf/dvi2ps/+fontsk/
open fontdesc /usr/share/texmf/dvi2ps/fontsk/psfonts-8r.map
search file psfonts-std.map in /usr/share/texmf/dvi2ps/+fontsk/
open fontdesc /usr/share/texmf/dvi2ps/fontsk/psfonts-std.map
search file psfonts-misc.map in /usr/share/texmf/dvi2ps/+fontsk/
open fontdesc /usr/share/texmf/dvi2ps/fontsk/psfonts-misc.map
search file psfonts-0.map in /usr/share/texmf/dvi2ps/+fontsk/
open fontdesc /usr/share/texmf/dvi2ps/fontsk/psfonts-0.map
search file fontsk/fonts-bitmap in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/fontsk/fonts-bitmap
search file fontsk/generate in /usr/share/texmf/dvi2ps/+
open fontdesc /usr/share/texmf/dvi2ps/fontsk/generate
@(#)dvi2ps (j-version) 3.2j

Prescanning .trying to access /usr/{local/share,share}/texmf/fonts/tfm//nttsub/
trying to access /usr/{local/share,share}/texmf/fonts/vf//a2mor2/
trying to access /usr/{local/share,share}/texmf/fonts/tfm//jp/
trying to access /usr/{local/share,share}/texmf/fonts/vf//
trying to access /usr/{local/share,share}/texmf/fonts/tfm//
trying to access /var/cache/fonts/pk/{ljfour,modeless}//
trying to access /usr/{local/share,share}/texmf/fonts/pk/{ljfour,modeless}//
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 2+0/600 --dpi 1200 ptmr7t
mktexpk: don't know how to create bitmap font for ptmr7t.
kpathsea: Appending font creation commands to missfont.log.
trying to access /var/cache/fonts/pk/{ljfour,modeless}//
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 2+0/600 --dpi 1200 ptmr7t
mktexpk: don't know how to create bitmap font for ptmr7t.
trying to access /usr/{local/share,share}/texmf/fonts/pk/{ljfour,modeless}//
No font file for ptmr7t (mag 2000)
trying to access /usr/{local/share,share}/texmf/fonts/tfm//nttsub/
trying to access /usr/{local/share,share}/texmf/fonts/vf//a2mor2/
trying to access /usr/{local/share,share}/texmf/fonts/tfm//jp/
trying to access /usr/{local/share,share}/texmf/fonts/vf//
trying to access /usr/{local/share,share}/texmf/fonts/tfm//
trying to access /var/cache/fonts/pk/{ljfour,modeless}//
trying to access /usr/{local/share,share}/texmf/fonts/pk/{ljfour,modeless}//
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+60/600 --dpi 660 ptmr7t
mktexpk: don't know how to create bitmap font for ptmr7t.
trying to access /var/cache/fonts/pk/{ljfour,modeless}//
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+60/600 --dpi 660 ptmr7t
mktexpk: don't know how to create bitmap font for ptmr7t.
trying to access /usr/{local/share,share}/texmf/fonts/pk/{ljfour,modeless}//
No font file for ptmr7t (mag 1100)
trying to access /usr/{local/share,share}/texmf/fonts/tfm//nttsub/
trying to access /usr/{local/share,share}/texmf/fonts/vf//a2mor2/
trying to access /usr/{local/share,share}/texmf/fonts/tfm//jp/
trying to access /usr/{local/share,share}/texmf/fonts/vf//
trying to access /usr/{local/share,share}/texmf/fonts/tfm//
trying to access /var/cache/fonts/pk/{ljfour,modeless}//
trying to access /usr/{local/share,share}/texmf/fonts/pk/{ljfour,modeless}//

--[PR]------------------------------------------------------------------
┏━━━━━━━━━━━━━━━━━━━━━━▼━▼━▼━▼━▼━▼━
┃どんな職業が自分に向いてるのかわからない! ▼ 誰に聞けばいいの?
┗━━━━━━━━━━━━━━━━━━━━━━▼━▼━▼━▼━▼━▼━
 実際に働いている人から直接アドバイスをもらって、3万円ゲット!!
http://ad.freeml.com/cgi-bin/ad.cgi?id=ejFWJ
------------------------------------------------------------------[PR]--
■GMO INTERNET GROUP■ GMO INTERNET www.gmo.jp


投稿者 xml-rpc : 2006年6月23日 23:24
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/38112
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。