source: trunk/dports/tex/pTeX/files/patch-7font-search.sh.diff @ 71968

Last change on this file since 71968 was 65644, checked in by takanori@…, 10 years ago

pTeX:

File size: 3.0 KB
  • ./7font-search.sh

    old new  
    109109
    110110# -----------------------------------
    111111
    112 mksymlink $CMAP <<EOF
    113 ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
    114 Acrobat4    /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
    115 Acrobat5    /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
    116 Acrobat7    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
    117 Acrobat8    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat8.0/Resource/CMap
    118 ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript{,/*}/Resource/CMap
    119 openwinja   /usr/openwin/lib/locale/ja/X11/Resource/CMap
    120 openwinko   /usr/openwin/lib/locale/ko/X11/Resource/CMap
    121 openwinzh   /usr/openwin/lib/locale/zh/X11/Resource/CMap
    122 openwintw   /usr/openwin/lib/locale/zh_TW.BIG5/X11/Resource/CMap
    123 EOF
    124 
    125 mksymlink $TRUETYPE <<EOF
    126 ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
    127 x11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/truetype
    128 X11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TrueType
    129 X11TTF    /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TTF
    130 truetype  /usr{,/local}/share/fonts/truetype
    131 TrueType  /usr{,/local}/share/fonts/TrueType
    132 TTF       /usr{,/local}/share/fonts/TTF
    133 ja        /usr{,/local}/share/fonts/ja/TrueType
    134 japanese  /usr{,/local}/share/fonts/japanese/TrueType
    135 openwin   /usr/openwin/lib/locale/ja/X11/fonts/TT
    136 QtPalmtop /opt/QtPalmtop/lib/X11/fonts/TrueType
    137 f8sazanami-min  /usr/share/fonts/sazanami-fonts-mincho
    138 f8sazanami-goth /usr/share/fonts/sazanami-fonts-gothic
    139 EOF
    140 
    141 mksymlink $OPENTYPE <<EOF
    142 ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
    143 # for test (contains white space)
    144 hoge "/tmp/hoge hoge"
    145 QtPalmtop /opt/QtPalmtop/lib/X11/fonts/opentype
    146 EOF
     112$MKDIR $CMAP/ghostscript
     113$CP ./cmap-gs871/* $CMAP/ghostscript
     114$CP ./ToUnicode/* $CMAP/ghostscript
     115$CP ./MappingOther/* $CMAP/ghostscript
    147116
    148117if test -d /System/Library/Fonts; then # Mac OS X
    149118LC_ALL=ja_JP.UTF-8
     
    154121HiraKakuPro-W6.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ Pro W6.otf"
    155122HiraKakuStd-W8.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ Std W8.otf"
    156123HiraMaruPro-W4.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î´Ý¥´ Pro W4.otf"
    157 EOF
    158 fi
    159 
    160 if test -d /cygdrive; then # Cygwin
    161 mksymlink $CMAP <<EOF
    162 Acrobat5 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 5.0/Resource/Cmap"
    163 Acrobat6 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 6.0/Resource/CMap"
    164 Acrobat7 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 7.0/Resource/CMap"
    165 Acrobat8 "`cygpath --mixed "$PROGRAMFILES"`/Adobe/Acrobat 8.0/Resource/CMap"
    166 EOF
    167 mksymlink $TRUETYPE <<EOF
    168 windows  "`cygpath --mixed -W`/Fonts"
     124HiraMinProN-W3.otf  {,/System}"/Library/Fonts/¥Ò¥é¥®¥ÎÌÀÄ« ProN W3.otf"
     125HiraMinProN-W6.otf  {,/System}"/Library/Fonts/¥Ò¥é¥®¥ÎÌÀÄ« ProN W6.otf"
     126HiraKakuProN-W3.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ ProN W3.otf"
     127HiraKakuProN-W6.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ ProN W6.otf"
     128HiraKakuStdN-W8.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î³Ñ¥´ StdN W8.otf"
     129HiraMaruProN-W4.otf {,/System}"/Library/Fonts/¥Ò¥é¥®¥Î´Ý¥´ ProN W4.otf"
    169130EOF
    170131fi
    171132
Note: See TracBrowser for help on using the repository browser.