|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||
2012年02月28日(火) 旧暦 [n年日記] [更新:"2012/02/28 19:05:11"]#1 [pkgsrc][ja-ptex] pdvips: ! invalid char 19032 from font rml
2012/02/03 の日記
に、次のような問題を書いた。
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+15/600 --dpi 615 rml mktexpk: don't know how to create bitmap font for rml. mktexpk: perhaps rml is missing from the map file. kpathsea: Appending font creation commands to missfont.log. pdvips: Font rml not found; using cmr10 </usr/pkg/share/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmr10.pk> pdvips: ! invalid char 19032 from font rml *** Error code 1この文字で google 先生に聞くと、 jisftconfig addとすれば良いというようなことを教えてくれるが、 どうもこれは Linux 世界というか Debian 用語なのかと思う。 それでこれを BSD 的に翻訳すると map file を用意しておいて、 config.ps からそれを参照するようにしなさい、という意味らしい。 例えば、次のような内容で kanji.map を用意する rml Ryumin-Light-H rmlv Ryumin-Light-V gbm GothicBBB-Medium-H gbmv GothicBBB-Medium-V ryumin-l Ryumin-Light-H ryumin-l-v Ryumin-Light-V gtbbb-m GothicBBB-Medium-H gtbbb-m-v GothicBBB-Medium-V futomin-b FutoMinA101-Bold-H futomin-b-v FutoMinA101-Bold-V futogo-b FutoGoB101-Bold-H futogo-b-v FutoGoB101-Bold-V jun101-l Jun101-Light-H jun101-l-v Jun101-Light-V unimin Ryumin-Light-UniJIS-UCS2-H unigoth GothicBBB-Medium-UniJIS-UCS2-Hその上で、 config.ps を次のように変更する modena@makoto 17:42:32/120228(..pkg/share)% cd /usr/pkg modena@makoto 17:42:34/120228(/usr/pkg)% diff -u share/texmf/dvips/config/config.ps{.orig,} --- share/texmf/dvips/config/config.ps.orig 2012-02-01 12:51:45.000000000 +0900 +++ share/texmf/dvips/config/config.ps 2012-02-28 15:58:47.000000000 +0900 @@ -51,6 +51,9 @@ % This shows how to add your own map file. % Remove the comment and adjust the name: % p +myfonts.map +%-- ptex-jisfonts begin +p +kanji.map +%-- ptex-jisfonts end' % In the past, the a4size and letterSize definitions did not set the % paper size, but we want to set it if we can so that ps2pdf can work modena@makoto 17:42:39/120228(/usr/pkg)%と書いたが、上の記述には間違いがあって、
ktrace の出力を注意深く見ていたら、自分の誤りに気が付いた。 config.ps は次のものを見ていた。こちらを変更したら、 modena@makoto 18:26:04/120228(~) \ % diff -u /usr/pkg/etc/texmf/dvips/config/config.ps{.orig,} --- /usr/pkg/etc/texmf/dvips/config/config.ps.orig 2012-02-03 00:10:10.000000000 +0900 +++ /usr/pkg/etc/texmf/dvips/config/config.ps 2012-02-28 18:25:53.000000000 +0900 @@ -51,6 +51,7 @@ % This shows how to add your own map file. % Remove the comment and adjust the name: % p +myfonts.map +p kanji.map % In the past, the a4size and letterSize definitions did not set the % paper size, but we want to set it if we can so that ps2pdf can work少なくとも、次のものを見に行く /usr/pkg/share/texmf/fonts/map/dvips/updmap/kanji.mapこれが良い PATH かどうか不明なので、もう少し調べる。 config.ps を用意したと思う Norbert Preining 先生に聞いて見るのが良いかな。 それと実はこの config.ps をどの pkgsrc が置いているのかが、まだ分っていない 時刻情報を見ると、 print/dvipsk らしい。でも PLIST とか +CONTENTS にはそれらしいものがない。 ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||