takesima です。 一応できました。
松鵜さんと違って 自分には ghostscript-esp-8.15.2_p20060520 を利用する
ことができませんでした。
そのため http://www.mland.jp/~fedora/mlbbs/mlbbs.cgi?mode=one&namber=
26&type=0&space=0&no=0
の情報にならいました。
equery l | grep ghost で、
app-text/ghostscript-esp-8.15.1_p20060430
kde-base/kghostview-3.4.1
mail-client/sylpheed-claws-ghostscript-viewer-0.8
ですが、要るのは app-text/ghostscript-esp-8.15.1_p20060430 だけと思い
ます。
あとは
P4 CID # ls -l /usr/share/fonts/CID
-rw-r--r-- 1 root root 3965 May 14 21:53 encodings.dir
-rw-r--r-- 1 root root 0 May 22 06:51 fonts.cache-1
-rw-r--r-- 1 root root 2 May 14 21:53 fonts.dir
-rw-r--r-- 1 root root 2 May 14 21:51 fonts.scale
と 何も触ってません。
P4 CID # ls -l /usr/share/ghostscript/8.15/Resource/CIDFont
total 22008
-rw-r--r-- 1 root root 2922132 Sep 2 2000 WadaGo-Bold
-rw-r--r-- 1 root root 3750566 Sep 2 2000 WadaMaruGo-Regular
-rw-r--r-- 1 root root 3767875 Sep 2 2000 WadaMaruGo-RegularH
-rw-r--r-- 1 root root 4023642 Sep 2 2000 WadaMin-Bold
-rw-r--r-- 1 root root 4033470 Sep 2 2000 WadaMin-Regular
-rw-r--r-- 1 root root 4007142 Sep 2 2000 WadaMin-RegularH
です。
後は
P4 CID # cat /usr/share/ghostscript/8.15/lib/cidfmap
%!
% $Id: cidfmap,v 1.7 2003/02/07 00:31:11 igor Exp $
% This is a sample map file for CIDFont category.
%
% The map is a set of records, which must use one of the two formats :
%
% 1. A substutution of a CIF font with another CID font :
%
% /substituted /original ;
%
% Where 'substituted' is a name being used in a document,
% 'original' is a name of an available resource.
%
% 2. A substutution of a CIF font with a True Type font :
%
% /substituted << /FileType /TrueType /Path (path) /SunfontID 1 /CSI
[(ordering) supplement] >> ;
%
% Where 'substituted' is a name being used in a document,
% 'path' is a path to a True Type font file,
% 'ordering' is a value of Ordering required for CIDSystemInfo dictionary,
% 'supplement' is a value of Supplement required for CIDSystemInfo
dictionary.
%
% Examples :
%
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
% /Ryumin-Medium << /FileType /TrueType /Path
(H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
%
/Ryumin-Light-EUC-H /WadaMin-RegularH ;
/Ryumin-Light /WadaMin-Regular ;
/GothicBBB-Medium /WadaGo-Bold ;
/HeiseiMin-W3 /WadaMin-Regular ;
/HeiseiKakuGo-W5 /WadaMin-RegularH ;
/Adobe-Japan1 /WadaMin-Regular ;
だけでした。
linuxの世界の 様々なdistributionが お互いに援助しあって
バザール伽藍方式で発展していく様は 素晴らしいと思います。
Takuto Matsuu wrote:
> 松鵜です。
>
> app-text/ghostscript-esp-8.15.2_p20060520
> でcjkフラグを立てればcidfmapにcjk用フォント設定が記載されるようになり
> ました。
>
> 本当はCONFIG_PROTECTで保護したり、debianのようにcidfmapを自動生成する
> ところまで実装したいのですが、まだそこまで出来てません。スンマセン。
なお http://nakajin.dyndns.org/sarge+server.html
の後方に 動いているdebian から rsync でHDDのまるごとバックアップ
を 書いてますが、 おそらくこれは gentooでもできるのではないかと
考えてます( ここでもdebian MLに御世話になりました)。
中心部分は
/usr/bin/rsync -avHSx --delete \
--exclude "/mnt/" \
--exclude "/r-mnt/" \
--exclude "/proc/*" \
/ /r-mnt
です。