--- ./7font-search.sh.orig	2008-06-16 13:06:07.000000000 +0900
+++ ./7font-search.sh	2008-08-14 00:16:11.000000000 +0900
@@ -109,41 +109,10 @@
 
 # -----------------------------------
 
-mksymlink $CMAP <<EOF
-### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
-Acrobat4    /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
-Acrobat5    /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
-Acrobat7    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
-Acrobat8    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat8.0/Resource/CMap
-ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript{,/*}/Resource/CMap
-openwinja   /usr/openwin/lib/locale/ja/X11/Resource/CMap
-openwinko   /usr/openwin/lib/locale/ko/X11/Resource/CMap
-openwinzh   /usr/openwin/lib/locale/zh/X11/Resource/CMap
-openwintw   /usr/openwin/lib/locale/zh_TW.BIG5/X11/Resource/CMap
-EOF
-
-mksymlink $TRUETYPE <<EOF
-### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
-x11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/truetype
-X11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TrueType
-X11TTF    /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TTF
-truetype  /usr{,/local}/share/fonts/truetype
-TrueType  /usr{,/local}/share/fonts/TrueType
-TTF	  /usr{,/local}/share/fonts/TTF
-ja        /usr{,/local}/share/fonts/ja/TrueType
-japanese  /usr{,/local}/share/fonts/japanese/TrueType
-openwin   /usr/openwin/lib/locale/ja/X11/fonts/TT
-QtPalmtop /opt/QtPalmtop/lib/X11/fonts/TrueType
-f8sazanami-min  /usr/share/fonts/sazanami-fonts-mincho
-f8sazanami-goth /usr/share/fonts/sazanami-fonts-gothic
-EOF
-
-mksymlink $OPENTYPE <<EOF
-### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
-# for test (contains white space)
-hoge "/tmp/hoge hoge"
-QtPalmtop /opt/QtPalmtop/lib/X11/fonts/opentype
-EOF
+$MKDIR $CMAP/ghostscript
+$CP ./cmap-gs871/* $CMAP/ghostscript
+$CP ./ToUnicode/* $CMAP/ghostscript
+$CP ./MappingOther/* $CMAP/ghostscript
 
 if test -d /System/Library/Fonts; then # Mac OS X
 LC_ALL=ja_JP.UTF-8
@@ -154,18 +121,12 @@
 HiraKakuPro-W6.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ Pro W6.otf"
 HiraKakuStd-W8.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ Std W8.otf"
 HiraMaruPro-W4.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î´Ý¥´ Pro W4.otf"
-EOF
-fi
-
-if test -d /cygdrive; then # Cygwin
-mksymlink $CMAP <<EOF
-Acrobat5 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 5.0/Resource/Cmap"
-Acrobat6 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 6.0/Resource/CMap"
-Acrobat7 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 7.0/Resource/CMap"
-Acrobat8 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 8.0/Resource/CMap"
-EOF
-mksymlink $TRUETYPE <<EOF
-windows  "`cygpath --mixed -W`/Fonts"
+HiraMinProN-W3.otf  {,/System}"/Library/Fonts/¥Ò¥é¥®¥ÎÌÀÄ« ProN W3.otf"
+HiraMinProN-W6.otf  {,/System}"/Library/Fonts/¥Ò¥é¥®¥ÎÌÀÄ« ProN W6.otf"
+HiraKakuProN-W3.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ ProN W3.otf"
+HiraKakuProN-W6.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ ProN W6.otf"
+HiraKakuStdN-W8.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ StdN W8.otf"
+HiraMaruProN-W4.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î´Ý¥´ ProN W4.otf"
 EOF
 fi
 
