the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: otf-fontfiles
Version: 1.5.6.1
Revision: 1
Depends: texlive-base (>= 0.20100722-1)
BuildDepends: fink (>= 0.24.12)
Recommends: okumura-clsfiles, dvipdfmx
Source: http://hnd.jp.asi.finkmirrors.net/pkgdists/%n-%v.zip
SourceDirectory: otfcurrent
Source-MD5: fc38d8384f73ae4b4238698eef4e11fd
Source2: http://macptex.appi.keio.ac.jp/~uchiyama/Adobe-Japan1-5-V.gz
Source2-MD5: c1d9da9c0194f01b63f21c5f3c19ad0d
Description: Virtual fonts and style files for otf in ptex
License: Restrictive/Distributable
Maintainer: Todai Fink Team
Homepage: http://psitau.kitunebi.com/otf.html
DocFiles: readme.txt fontmap/vfontmap.txt
PatchFile: %n.patch
PatchFile-MD5: cff244ce4d5ae908687502887e2c16e5
PatchScript: <<
%{default_script}
mv fontmap/ckt.map* fontmap/ckt.map
mv fontmap/cktx.map* fontmap/cktx.map
mv fontmap/hiragino.map* fontmap/hiragino.map
mv fontmap/hiraginox.map* fontmap/hiraginox.map
# "morisawa.map" already exists: %p/share/texmf/fonts/map/dvipdfm/morisawa.map
mv fontmap/morisawa.map* fontmap/morisawaps.map
mv fontmap/morisawax.map* fontmap/morisawax.map
sed -e 's|Ryumin-Light|ipam|g' \
-e 's|GothicBBB-Medium|ipag|g' \
< fontmap/psfonts_jp.map > fontmap/ipa.map
sed -e 's|!Ryumin-Light|ipam.ttf|g' \
-e 's|!GothicBBB-Medium|ipag.ttf|g' \
< fontmap/otf-noEmbed.map > fontmap/ipax.map
gzip -d ../Adobe-Japan1-5-V.gz
chmod -x readme.txt
<<
CompileScript: ./makeotf
InstallScript: <<
install -m 755 -d %i/etc/texmf.local/fonts/vf/otf
install -m 644 vf/* %i/etc/texmf.local/fonts/vf/otf/
install -m 755 -d %i/etc/texmf.local/fonts/tfm/otf
install -m 644 tfm/* %i/etc/texmf.local/fonts/tfm/otf/
install -m 755 -d %i/etc/texmf.local/fonts/ofm/otf
install -m 644 ofm/* %i/etc/texmf.local/fonts/ofm/otf/
install -m 755 -d %i/etc/texmf.local/tex/platex/otf
install -m 644 sty/* %i/etc/texmf.local/tex/platex/otf/
install -m 755 -d %i/etc/texmf.local/fonts/map/dvips/otf
install -m 644 fontmap/otf-ckt.map \
%i/etc/texmf.local/fonts/map/dvips/otf/
install -m 644 fontmap/{ckt,hiragino,ipa,kozuka,morisawaps,psfonts_jp}.map \
%i/etc/texmf.local/fonts/map/dvips/otf/
install -m 755 -d %i/etc/texmf.local/fonts/map/dvipdfm/otf
install -m 644 fontmap/{ckt,hiragino,ipa,kozuka,morisawa}x.map \
%i/etc/texmf.local/fonts/map/dvipdfm/otf/
install -m 644 fontmap/otf-{cktx,noEmbed}.map \
%i/etc/texmf.local/fonts/map/dvipdfm/otf/
for font in hiragino ipa kozuka morisawa; do ln -s ${font}x.map \
%i/etc/texmf.local/fonts/map/dvipdfm/otf/otf-${font}.map; done
install -m 755 -d %i/etc/texmf.local/fonts/cmap/otf
install -m 644 ../Adobe-Japan1-5-V %i/etc/texmf.local/fonts/cmap/otf/
<<
PostInstScript: <<
if [ -x %p/bin/mktexlsr ]
then
%p/bin/mktexlsr %p/etc/texmf.local
fi
if [ -x %p/bin/updmap-sys ]
then
updmap-sys --nomkmap --nohash --enable KanjiMap otf-@kanjiEmbed@.map
updmap-sys --nomkmap --nohash --enable KanjiMap otf-cktx.map
updmap-sys
fi
<<
PreRmScript: <<
# do nothing. (needed to upgrade from 1.5.3 with dvipdfmx-20070409)
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
if [ -x %p/bin/updmap-sys ]
then
updmap-sys --nomkmap --nohash --disable otf-@kanjiEmbed@.map
updmap-sys --nomkmap --nohash --disable otf-cktx.map
updmap-sys
fi
if [ -x %p/bin/mktexlsr ]
then
%p/bin/mktexlsr %p/etc/texmf.local
fi
fi
<<
diff -urN otfcurrent.orig/fontmap/otf-ckt.map otfcurrent/fontmap/otf-ckt.map
--- otfcurrent.orig/fontmap/otf-ckt.map 1970-01-01 09:00:00.000000000 +0900
+++ otfcurrent/fontmap/otf-ckt.map 2006-03-12 21:24:31.000000000 +0900
@@ -0,0 +1,37 @@
+% OTF for dvips
+
+%%%%% traditional Chinese -- serif %%%%%
+otf-utmr-h MSung-Light-UniCNS-UTF16-H
+otf-utmr-v MSung-Light-UniCNS-UTF16-V
+otf-ctmr-h MSung-Light-Identity-H
+otf-ctmr-v MSung-Light-Identity-V
+
+%%%%% traditional Chinese -- sans serif %%%%%
+otf-utgr-h MHei-Medium-UniCNS-UTF16-H
+otf-utgr-v MHei-Medium-UniCNS-UTF16-V
+otf-ctgr-h MHei-Medium-Identity-H
+otf-ctgr-v MHei-Medium-Identity-V
+
+%%%%% simplified Chinese -- serif %%%%%
+otf-ucmr-h STSong-Light-UniGB-UTF16-H
+otf-ucmr-v STSong-Light-UniGB-UTF16-V
+otf-ccmr-h STSong-Light-Identity-H
+otf-ccmr-v STSong-Light-Identity-V
+
+%%%%% simplified Chinese -- sans serif %%%%%
+otf-ucgr-h STHeitiStd-Regular-UniGB-UTF16-H
+otf-ucgr-v STHeitiStd-Regular-UniGB-UTF16-V
+otf-ccgr-h STHeitiStd-Regular-Identity-H
+otf-ccgr-v STHeitiStd-Regular-Identity-V
+
+%%%%% hangeul -- serif %%%%%
+otf-ukmr-h HYSMyeongJo-Medium-UniKS-UTF16-H
+otf-ukmr-v HYSMyeongJo-Medium-UniKS-UTF16-V
+otf-ckmr-h HYSMyeongJo-Medium-Identity-H
+otf-ckmr-v HYSMyeongJo-Medium-Identity-V
+
+%%%%% hangeul -- sans serif %%%%%
+otf-ukgr-h HYGoThic-Medium-UniKS-UTF16-H
+otf-ukgr-v HYGoThic-Medium-UniKS-UTF16-V
+otf-ckgr-h HYGoThic-Medium-Identity-H
+otf-ckgr-v HYGoThic-Medium-Identity-V
diff -urN otfcurrent.orig/fontmap/otf-cktx.map otfcurrent/fontmap/otf-cktx.map
--- otfcurrent.orig/fontmap/otf-cktx.map 1970-01-01 09:00:00.000000000 +0900
+++ otfcurrent/fontmap/otf-cktx.map 2006-03-12 20:33:11.000000000 +0900
@@ -0,0 +1,37 @@
+% OTF for dvipdfmx
+
+%%%%% traditional Chinese -- serif %%%%%
+otf-utmr-h UniCNS-UTF16-H !MSung-Light
+otf-utmr-v UniCNS-UTF16-V !MSung-Light
+otf-ctmr-h Identity-H !MSung-Light
+otf-ctmr-v Identity-V !MSung-Light
+
+%%%%% traditional Chinese -- sans serif %%%%%
+otf-utgr-h UniCNS-UTF16-H !MHei-Medium
+otf-utgr-v UniCNS-UTF16-V !MHei-Medium
+otf-ctgr-h Identity-H !MHei-Medium
+otf-ctgr-v Identity-V !MHei-Medium
+
+%%%%% simplified Chinese -- serif %%%%%
+otf-ucmr-h UniGB-UTF16-H !STSong-Light
+otf-ucmr-v UniGB-UTF16-V !STSong-Light
+otf-ccmr-h Identity-H !STSong-Light
+otf-ccmr-v Identity-V !STSong-Light
+
+%%%%% simplified Chinese -- sans serif %%%%%
+otf-ucgr-h UniGB-UTF16-H !STHeitiStd-Regular
+otf-ucgr-v UniGB-UTF16-V !STHeitiStd-Regular
+otf-ccgr-h Identity-H !STHeitiStd-Regular
+otf-ccgr-v Identity-V !STHeitiStd-Regular
+
+%%%%% hangeul -- serif %%%%%
+otf-ukmr-h UniKS-UTF16-H !HYSMyeongJo-Medium
+otf-ukmr-v UniKS-UTF16-V !HYSMyeongJo-Medium
+otf-ckmr-h Identity-H !HYSMyeongJo-Medium
+otf-ckmr-v Identity-V !HYSMyeongJo-Medium
+
+%%%%% hangeul -- sans serif %%%%%
+otf-ukgr-h UniKS-UTF16-H !HYGoThic-Medium
+otf-ukgr-v UniKS-UTF16-V !HYGoThic-Medium
+otf-ckgr-h Identity-H !HYGoThic-Medium
+otf-ckgr-v Identity-V !HYGoThic-Medium
diff -urN otfcurrent.orig/fontmap/otf-noEmbed.map otfcurrent/fontmap/otf-noEmbed.map
--- otfcurrent.orig/fontmap/otf-noEmbed.map 1970-01-01 09:00:00.000000000 +0900
+++ otfcurrent/fontmap/otf-noEmbed.map 2006-03-12 20:33:11.000000000 +0900
@@ -0,0 +1,41 @@
+% OTF for dvipdfmx
+
+%%%%% min %%%%%
+otf-ujmr-h UniJIS-UTF16-H !Ryumin-Light
+otf-ujmr-v UniJIS-UTF16-V !Ryumin-Light
+otf-cjmr-h Identity-H !Ryumin-Light
+otf-cjmr-v Identity-V !Ryumin-Light
+hminr-h H !Ryumin-Light
+hminr-v V !Ryumin-Light
+
+%%%%% goth %%%%%
+otf-ujgr-h UniJIS-UTF16-H !GothicBBB-Medium
+otf-ujgr-v UniJIS-UTF16-V !GothicBBB-Medium
+otf-cjgr-h Identity-H !GothicBBB-Medium
+otf-cjgr-v Identity-V !GothicBBB-Medium
+hgothr-h H !GothicBBB-Medium
+hgothr-v V !GothicBBB-Medium
+
+%%%%% bold min %%%%%
+otf-ujmb-h UniJIS-UTF16-H !Ryumin-Light,Bold
+otf-ujmb-v UniJIS-UTF16-V !Ryumin-Light,Bold
+otf-cjmb-h Identity-H !Ryumin-Light,Bold
+otf-cjmb-v Identity-V !Ryumin-Light,Bold
+hminb-h H !Ryumin-Light,Bold
+hminb-v V !Ryumin-Light,Bold
+
+%%%%% bold goth %%%%%
+otf-ujgb-h UniJIS-UTF16-H !GothicBBB-Medium,Bold
+otf-ujgb-v UniJIS-UTF16-V !GothicBBB-Medium,Bold
+otf-cjgb-h Identity-H !GothicBBB-Medium,Bold
+otf-cjgb-v Identity-V !GothicBBB-Medium,Bold
+hgothb-h H !GothicBBB-Medium,Bold
+hgothb-v V !GothicBBB-Medium,Bold
+
+%%%%% maru goth %%%%%
+otf-ujmgr-h UniJIS-UTF16-H !Ryumin-Light
+otf-ujmgr-v UniJIS-UTF16-V !Ryumin-Light
+otf-cjmgr-h Identity-H !Ryumin-Light
+otf-cjmgr-v Identity-V !Ryumin-Light
+hmgothr-h H !Ryumin-Light
+hmgothr-v V !Ryumin-Light
diff -urN otfcurrent.orig/fontmap/psfonts_jp.map otfcurrent/fontmap/psfonts_jp.map
--- otfcurrent.orig/fontmap/psfonts_jp.map 1970-01-01 09:00:00.000000000 +0900
+++ otfcurrent/fontmap/psfonts_jp.map 2006-03-12 21:24:46.000000000 +0900
@@ -0,0 +1,41 @@
+% OTF for dvips
+
+%%%%% min %%%%%
+otf-ujmr-h Ryumin-Light-UniJIS-UTF16-H
+otf-ujmr-v Ryumin-Light-UniJIS-UTF16-V
+otf-cjmr-h Ryumin-Light-Identity-H
+otf-cjmr-v Ryumin-Light-Identity-V
+hminr-h Ryumin-Light-H
+hminr-v Ryumin-Light-V
+
+%%%%% goth %%%%%
+otf-ujgr-h GothicBBB-Medium-UniJIS-UTF16-H
+otf-ujgr-v GothicBBB-Medium-UniJIS-UTF16-V
+otf-cjgr-h GothicBBB-Medium-Identity-H
+otf-cjgr-v GothicBBB-Medium-Identity-V
+hgothr-h GothicBBB-Medium-H
+hgothr-v GothicBBB-Medium-V
+
+%%%%% bold min %%%%%
+otf-ujmb-h Ryumin-Light-UniJIS-UTF16-H
+otf-ujmb-v Ryumin-Light-UniJIS-UTF16-V
+otf-cjmb-h Ryumin-Light-Identity-H
+otf-cjmb-v Ryumin-Light-Identity-V
+hminb-h Ryumin-Light-H
+hminb-v Ryumin-Light-V
+
+%%%%% bold goth %%%%%
+otf-ujgb-h GothicBBB-Medium-UniJIS-UTF16-H
+otf-ujgb-v GothicBBB-Medium-UniJIS-UTF16-V
+otf-cjgb-h GothicBBB-Medium-Identity-H
+otf-cjgb-v GothicBBB-Medium-Identity-V
+hgothb-h GothicBBB-Medium-H
+hgothb-v GothicBBB-Medium-V
+
+%%%%% maru goth %%%%%
+otf-ujmgr-h Ryumin-Light-UniJIS-UTF16-H
+otf-ujmgr-v Ryumin-Light-UniJIS-UTF16-V
+otf-cjmgr-h Ryumin-Light-Identity-H
+otf-cjmgr-v Ryumin-Light-Identity-V
+hmgothr-h Ryumin-Light-H
+hmgothr-v Ryumin-Light-V