summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2013-04-10 05:20:27 +0000
committerNorbert Preining <preining@logic.at>2013-04-10 05:20:27 +0000
commit7cafb4ecf577525908fb1b03e3bf66b4eea7192b (patch)
tree49789afc0dd234bebc7622cbd734a1a0b8008b7f /Build/source
parentbe5692004a6925b449dc1695a717607d0114e5c1 (diff)
remove jfontmaps from source/extra, dev separately
git-svn-id: svn://tug.org/texlive/trunk@29815 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/extra/jfontmaps/ChangeLog81
-rw-r--r--Build/source/extra/jfontmaps/README25
-rw-r--r--Build/source/extra/jfontmaps/hiragino/otf-hiragino.map90
-rw-r--r--Build/source/extra/jfontmaps/hiragino/otf-up-hiragino.map19
-rw-r--r--Build/source/extra/jfontmaps/hiragino/ptex-hiragino-04.map9
-rw-r--r--Build/source/extra/jfontmaps/hiragino/ptex-hiragino.map9
-rw-r--r--Build/source/extra/jfontmaps/hiragino/uptex-hiragino-04.map11
-rw-r--r--Build/source/extra/jfontmaps/hiragino/uptex-hiragino.map11
-rw-r--r--Build/source/extra/jfontmaps/ipa/otf-ipa.map75
-rw-r--r--Build/source/extra/jfontmaps/ipa/otf-up-ipa.map43
-rw-r--r--Build/source/extra/jfontmaps/ipa/ptex-ipa.map9
-rw-r--r--Build/source/extra/jfontmaps/ipa/uptex-ipa.map15
-rw-r--r--Build/source/extra/jfontmaps/ipaex/otf-ipaex.map75
-rw-r--r--Build/source/extra/jfontmaps/ipaex/otf-up-ipaex.map43
-rw-r--r--Build/source/extra/jfontmaps/ipaex/ptex-ipaex.map9
-rw-r--r--Build/source/extra/jfontmaps/ipaex/uptex-ipaex.map15
-rw-r--r--Build/source/extra/jfontmaps/kozuka/otf-kozuka.map77
-rw-r--r--Build/source/extra/jfontmaps/kozuka/otf-up-kozuka.map15
-rw-r--r--Build/source/extra/jfontmaps/kozuka/ptex-kozuka-04.map9
-rw-r--r--Build/source/extra/jfontmaps/kozuka/ptex-kozuka.map9
-rw-r--r--Build/source/extra/jfontmaps/kozuka/uptex-kozuka-04.map11
-rw-r--r--Build/source/extra/jfontmaps/kozuka/uptex-kozuka.map11
-rw-r--r--Build/source/extra/jfontmaps/morisawa/otf-morisawa.map77
-rw-r--r--Build/source/extra/jfontmaps/morisawa/otf-up-morisawa.map15
-rw-r--r--Build/source/extra/jfontmaps/morisawa/ptex-morisawa-04.map9
-rw-r--r--Build/source/extra/jfontmaps/morisawa/ptex-morisawa.map9
-rw-r--r--Build/source/extra/jfontmaps/morisawa/uptex-morisawa-04.map11
-rw-r--r--Build/source/extra/jfontmaps/morisawa/uptex-morisawa.map11
-rw-r--r--Build/source/extra/jfontmaps/script/kanji-fontmap-creator.pl592
-rwxr-xr-xBuild/source/extra/jfontmaps/script/updmap-otf.sh323
-rwxr-xr-xBuild/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh31
-rwxr-xr-xBuild/source/extra/jfontmaps/script/updmap-setup-kanji.pl291
32 files changed, 0 insertions, 2040 deletions
diff --git a/Build/source/extra/jfontmaps/ChangeLog b/Build/source/extra/jfontmaps/ChangeLog
deleted file mode 100644
index a4262995b38..00000000000
--- a/Build/source/extra/jfontmaps/ChangeLog
+++ /dev/null
@@ -1,81 +0,0 @@
-2012-06-19 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-setup-kanji.pl:
- - fix and simplify status detection
- - add options to the help string
- - switch completely to updmap (non -sys) variant, we will
- use the usual wrapper system for updmap-setup-kanji-sys
- (patch from Hironori Kitagawa)
-
-2012-04-25 Norbert Preining <preining@logic.at>
-
- * kozuka/otf-up-kozuka.map: fix inconsistency in naming of
- font files
- Version v0.9.5
-
-2012-03-15 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-setup-kanji.pl: remove (...) from the output
- of --showoption, multi-updmap echos (still, but not for long)
- out the configuration file where the variable is set.
- Version v0.9.5
-
-2012-03-01 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-setup-kanji.pl: pass --quiet --nomkmap --nohash
- to the --setoption calls of updmap.
- Version v0.9.4
-
-2012-02-10 Norbert Preining <preining@logic.at>
-
- * fontmaps: add ipa and ipaex maps
-
-2012-02-06 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-setup-kanji.pl: change output of status to
- only report family, change help text a bit,
- fix for win32, thanks Akira Kakuto
- Version v0.9.3
-
-2012-01-31 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-setup-kanji.pl: rewrite updmap-otf in perl
- so that the script is usable under Windows
- add command line options for help, dry-run, etc
- support jis2004 via cmd line -jis2004
-
-2012-01-27 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-otf.sh: support IPA and IPAex fonts,
- improve and extended documentation
- Version v0.9.2
-
-2011-11-11 Norbert Preining <preining@logic.at>
-
- * scripts/updmap-otf.sh: Version v0.9.1
- use kpsewhich for finding fonts
- use updmap-sys --setoption kanjiEmbed to select the font family
- use current names of map files
- use different font name for Kozuka font, as used in the map file
- get state from updmap.cfg, not from some state file
-
-Old changelog of updmap-otf/updmap-setup-kanji.pl:
-
-# 27 May 2006 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.9
-# use noEmbed.map instead of noEmbeddedFont.map
-# 10 Jun 2005 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.8
-# modified to use updmap-sys in teTeX3
-# 07 Nov 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.7
-# do not echo back the message of updmap.
-# 17 Oct 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.6
-# set hiragino map file if nofont is installed and arg is auto.
-# 04 Oct 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.5
-# handl standby map files more strictly
-# 20 Sep 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.4
-# hand over current status to map file installer
-# 19 Sep 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.3
-# handl *-udvips.map in TEXMF/dvipdfm/config/otf/
-# 02 Mar 2004 by KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumei.ac.jp> v0.2
-# added noFont-udvips.map
-# 28 Feb 2004 by KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumei.ac.jp> v0.1
-
diff --git a/Build/source/extra/jfontmaps/README b/Build/source/extra/jfontmaps/README
deleted file mode 100644
index 5f00df45012..00000000000
--- a/Build/source/extra/jfontmaps/README
+++ /dev/null
@@ -1,25 +0,0 @@
-jfontmaps
-=========
-
-The files contained in this package contains font maps for dvipdfmx to
-make various Japanese fonts available for (u)ptex and related programs/formats.
-
-The font maps were written by several people, including
- Hironori Kitagawa
- Takuji Tanaka
- Saito Shuzaburo
- Norbert Preining
-and are now maintained in the tug.org subversion repository:
- svn://tug.org/texlive/trunk/Build/source/extra/jfontmaps
-
-Copyright/License
-=================
-All the map files are under Public Domain.
-
-The (deprecated) file updmap-otf.sh and the (in perl rewritten version)
-updmap-setup-kanji.pl are licensed under the following terms:
- Copyright 2004-2006 by KOBAYASHI Taizo
- Copyright 2011-2012 by PREINING Norbert
-Licensed under the GPL version 3 or any later version,
-see the file for details.
-
diff --git a/Build/source/extra/jfontmaps/hiragino/otf-hiragino.map b/Build/source/extra/jfontmaps/hiragino/otf-hiragino.map
deleted file mode 100644
index 40917c42494..00000000000
--- a/Build/source/extra/jfontmaps/hiragino/otf-hiragino.map
+++ /dev/null
@@ -1,90 +0,0 @@
-otf-ujmr-h UniJIS-UTF16-H HiraMinPro-W3
-otf-ujmr-v UniJIS-UTF16-V HiraMinPro-W3
-otf-cjmr-h Identity-H HiraMinPro-W3
-otf-cjmr-v Identity-V HiraMinPro-W3
-hminr-h H HiraMinPro-W3
-hminr-v V HiraMinPro-W3
-
-otf-ujgr-h UniJIS-UTF16-H HiraKakuPro-W3
-otf-ujgr-v UniJIS-UTF16-V HiraKakuPro-W3
-otf-cjgr-h Identity-H HiraKakuPro-W3
-otf-cjgr-v Identity-V HiraKakuPro-W3
-hgothr-h H HiraKakuPro-W3
-hgothr-v V HiraKakuPro-W3
-
-otf-ujmb-h UniJIS-UTF16-H HiraMinPro-W6
-otf-ujmb-v UniJIS-UTF16-V HiraMinPro-W6
-otf-cjmb-h Identity-H HiraMinPro-W6
-otf-cjmb-v Identity-V HiraMinPro-W6
-hminb-h H HiraMinPro-W6
-hminb-v V HiraMinPro-W6
-
-otf-ujgb-h UniJIS-UTF16-H HiraKakuPro-W6
-otf-ujgb-v UniJIS-UTF16-V HiraKakuPro-W6
-otf-cjgb-h Identity-H HiraKakuPro-W6
-otf-cjgb-v Identity-V HiraKakuPro-W6
-hgothb-h H HiraKakuPro-W6
-hgothb-v V HiraKakuPro-W6
-
-hgotheb-h H HiraKakuStd-W8
-hgotheb-v V HiraKakuStd-W8
-
-otf-ujmgr-h UniJIS-UTF16-H HiraMaruPro-W4
-otf-ujmgr-v UniJIS-UTF16-V HiraMaruPro-W4
-otf-cjmgr-h Identity-H HiraMaruPro-W4
-otf-cjmgr-v Identity-V HiraMaruPro-W4
-hmgothr-h H HiraMaruPro-W4
-hmgothr-v V HiraMaruPro-W4
-
-otf-ujml-h UniJIS-UTF16-H HiraMinPro-W2
-otf-ujml-v UniJIS-UTF16-V HiraMinPro-W2
-otf-cjml-h Identity-H HiraMinPro-W2
-otf-cjml-v Identity-V HiraMinPro-W2
-hminl-h H HiraMinPro-W2
-hminl-v V HiraMinPro-W2
-
-% for 1-byte part of Hiragino OpenType fonts
-% this part doesn't exist in other otf-*.map
-hiramin-w3-h Identity-H HiraMinPro-W3
-hiramin-w6-h Identity-H HiraMinPro-W6
-hirakaku-w3-h Identity-H HiraKakuPro-W3
-hirakaku-w6-h Identity-H HiraKakuPro-W6
-hiramaru-w4-h Identity-H HiraMaruPro-W4
-hiramin-w3-v Identity-V HiraMinPro-W3
-hiramin-w6-v Identity-V HiraMinPro-W6
-hirakaku-w3-v Identity-V HiraKakuPro-W3
-hirakaku-w6-v Identity-V HiraKakuPro-W6
-hiramaru-w4-v Identity-V HiraMaruPro-W4
-
-%
-% JIS 2004
-%
-otf-ujmrn-h UniJIS2004-UTF16-H HiraMinProN-W3
-otf-ujmrn-v UniJIS2004-UTF16-V HiraMinProN-W3
-hminrn-h H HiraMinProN-W3
-hminrn-v V HiraMinProN-W3
-
-otf-ujgrn-h UniJIS2004-UTF16-H HiraKakuProN-W3
-otf-ujgrn-v UniJIS2004-UTF16-V HiraKakuProN-W3
-hgothrn-h H HiraKakuProN-W3
-hgothrn-v V HiraKakuProN-W3
-
-otf-ujmbn-h UniJIS2004-UTF16-H HiraMinProN-W6
-otf-ujmbn-v UniJIS2004-UTF16-V HiraMinProN-W6
-hminbn-h H HiraMinProN-W6
-hminbn-v V HiraMinProN-W6
-
-otf-ujgbn-h UniJIS2004-UTF16-H HiraKakuProN-W6
-otf-ujgbn-v UniJIS2004-UTF16-V HiraKakuProN-W6
-hgothbn-h H HiraKakuProN-W6
-hgothbn-v V HiraKakuProN-W6
-
-otf-ujmgrn-h UniJIS2004-UTF16-H HiraMaruProN-W4
-otf-ujmgrn-v UniJIS2004-UTF16-V HiraMaruProN-W4
-hmgothrn-h H HiraMaruProN-W4
-hmgothrn-v V HiraMaruProN-W4
-
-otf-ujmln-h UniJIS2004-UTF16-H HiraMinProN-W2
-otf-ujmln-v UniJIS2004-UTF16-V HiraMinProN-W2
-hminln-h H HiraMinProN-W2
-hminln-v V HiraMinProN-W2
diff --git a/Build/source/extra/jfontmaps/hiragino/otf-up-hiragino.map b/Build/source/extra/jfontmaps/hiragino/otf-up-hiragino.map
deleted file mode 100644
index b92ea835f88..00000000000
--- a/Build/source/extra/jfontmaps/hiragino/otf-up-hiragino.map
+++ /dev/null
@@ -1,19 +0,0 @@
-%
-% otf-up-hiragino.map
-% map file to support Hiragino fonts in uptex
-% based on the patch of TANAKA Takuji
-% from uptex-1.00-20120115a
-uphminr-h UniJIS-UTF16-H HiraMinPro-W3
-uphminr-v UniJIS-UTF16-V HiraMinPro-W3
-uphgothr-h UniJIS-UTF16-H HiraKakuPro-W3
-uphgothr-v UniJIS-UTF16-V HiraKakuPro-W3
-uphminb-h UniJIS-UTF16-H HiraMinPro-W6
-uphminb-v UniJIS-UTF16-V HiraMinPro-W6
-uphgothb-h UniJIS-UTF16-H HiraKakuPro-W6
-uphgothb-v UniJIS-UTF16-V HiraKakuPro-W6
-uphgotheb-h UniJIS-UTF16-H HiraKakuStd-W8
-uphgotheb-v UniJIS-UTF16-V HiraKakuStd-W8
-uphmgothr-h UniJIS-UTF16-H HiraMaruPro-W4
-uphmgothr-v UniJIS-UTF16-V HiraMaruPro-W4
-uphminl-h UniJIS-UTF16-H HiraMinPro-W2
-uphminl-v UniJIS-UTF16-V HiraMinPro-W2
diff --git a/Build/source/extra/jfontmaps/hiragino/ptex-hiragino-04.map b/Build/source/extra/jfontmaps/hiragino/ptex-hiragino-04.map
deleted file mode 100644
index 9de30b9c898..00000000000
--- a/Build/source/extra/jfontmaps/hiragino/ptex-hiragino-04.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H HiraMinProN-W3.otf
-rmlv V HiraMinProN-W3.otf
-gbm H HiraKakuProN-W3.otf
-gbmv V HiraKakuProN-W3.otf
-
diff --git a/Build/source/extra/jfontmaps/hiragino/ptex-hiragino.map b/Build/source/extra/jfontmaps/hiragino/ptex-hiragino.map
deleted file mode 100644
index 54be2188e63..00000000000
--- a/Build/source/extra/jfontmaps/hiragino/ptex-hiragino.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H HiraMinPro-W3.otf
-rmlv V HiraMinPro-W3.otf
-gbm H HiraKakuPro-W3.otf
-gbmv V HiraKakuPro-W3.otf
-
diff --git a/Build/source/extra/jfontmaps/hiragino/uptex-hiragino-04.map b/Build/source/extra/jfontmaps/hiragino/uptex-hiragino-04.map
deleted file mode 100644
index d3599199c2b..00000000000
--- a/Build/source/extra/jfontmaps/hiragino/uptex-hiragino-04.map
+++ /dev/null
@@ -1,11 +0,0 @@
-urml UniJIS-UTF16-H HiraMinProN-W3.otf
-urmlv UniJIS-UTF16-V HiraMinProN-W3.otf
-ugbm UniJIS-UTF16-H HiraKakuProN-W3.otf
-ugbmv UniJIS-UTF16-V HiraKakuProN-W3.otf
-
-uprml-h UniJIS-UTF16-H HiraMinProN-W3.otf
-uprml-v UniJIS-UTF16-V HiraMinProN-W3.otf
-upgbm-h UniJIS-UTF16-H HiraKakuProN-W3.otf
-upgbm-v UniJIS-UTF16-V HiraKakuProN-W3.otf
-uprml-hq UniJIS-UCS2-H HiraMinProN-W3.otf
-upgbm-hq UniJIS-UCS2-H HiraKakuProN-W3.otf
diff --git a/Build/source/extra/jfontmaps/hiragino/uptex-hiragino.map b/Build/source/extra/jfontmaps/hiragino/uptex-hiragino.map
deleted file mode 100644
index b9752e266c0..00000000000
--- a/Build/source/extra/jfontmaps/hiragino/uptex-hiragino.map
+++ /dev/null
@@ -1,11 +0,0 @@
-urml UniJIS-UTF16-H HiraMinPro-W3.otf
-urmlv UniJIS-UTF16-V HiraMinPro-W3.otf
-ugbm UniJIS-UTF16-H HiraKakuPro-W3.otf
-ugbmv UniJIS-UTF16-V HiraKakuPro-W3.otf
-
-uprml-h UniJIS-UTF16-H HiraMinPro-W3.otf
-uprml-v UniJIS-UTF16-V HiraMinPro-W3.otf
-upgbm-h UniJIS-UTF16-H HiraKakuPro-W3.otf
-upgbm-v UniJIS-UTF16-V HiraKakuPro-W3.otf
-uprml-hq UniJIS-UCS2-H HiraMinPro-W3.otf
-upgbm-hq UniJIS-UCS2-H HiraKakuPro-W3.otf
diff --git a/Build/source/extra/jfontmaps/ipa/otf-ipa.map b/Build/source/extra/jfontmaps/ipa/otf-ipa.map
deleted file mode 100644
index 34c0803da17..00000000000
--- a/Build/source/extra/jfontmaps/ipa/otf-ipa.map
+++ /dev/null
@@ -1,75 +0,0 @@
-otf-ujmr-h UniJIS-UTF16-H ipam.ttf
-otf-ujmr-v UniJIS-UTF16-V ipam.ttf
-otf-cjmr-h Identity-H ipam.ttf/AJ16
-otf-cjmr-v Identity-V ipam.ttf/AJ16
-hminr-h H ipam.ttf
-hminr-v V ipam.ttf
-
-otf-ujgr-h UniJIS-UTF16-H ipag.ttf
-otf-ujgr-v UniJIS-UTF16-V ipag.ttf
-otf-cjgr-h Identity-H ipag.ttf/AJ16
-otf-cjgr-v Identity-V ipag.ttf/AJ16
-hgothr-h H ipag.ttf
-hgothr-v V ipag.ttf
-
-otf-ujmb-h UniJIS-UTF16-H ipam.ttf
-otf-ujmb-v UniJIS-UTF16-V ipam.ttf
-otf-cjmb-h Identity-H ipam.ttf/AJ16
-otf-cjmb-v Identity-V ipam.ttf/AJ16
-hminb-h H ipam.ttf
-hminb-v V ipam.ttf
-
-otf-ujgb-h UniJIS-UTF16-H ipag.ttf
-otf-ujgb-v UniJIS-UTF16-V ipag.ttf
-otf-cjgb-h Identity-H ipag.ttf/AJ16
-otf-cjgb-v Identity-V ipag.ttf/AJ16
-hgothb-h H ipag.ttf
-hgothb-v V ipag.ttf
-
-hgotheb-h H ipag.ttf
-hgotheb-v V ipag.ttf
-
-otf-ujmgr-h UniJIS-UTF16-H ipag.ttf
-otf-ujmgr-v UniJIS-UTF16-V ipag.ttf
-otf-cjmgr-h Identity-H ipag.ttf/AJ16
-otf-cjmgr-v Identity-V ipag.ttf/AJ16
-hmgothr-h H ipag.ttf
-hmgothr-v V ipag.ttf
-
-otf-ujml-h UniJIS-UTF16-H ipam.ttf
-otf-ujml-v UniJIS-UTF16-V ipam.ttf
-otf-cjml-h Identity-H ipam.ttf/AJ16
-otf-cjml-v Identity-V ipam.ttf/AJ16
-hminl-h H ipam.ttf
-hminl-v V ipam.ttf
-
-%for JIS X 0213:2004
-otf-ujmrn-h UniJIS2004-UTF16-H ipam.ttf
-otf-ujmrn-v UniJIS2004-UTF16-V ipam.ttf
-hminrn-h H ipam.ttf
-hminrn-v V ipam.ttf
-
-otf-ujgrn-h UniJIS2004-UTF16-H ipag.ttf
-otf-ujgrn-v UniJIS2004-UTF16-V ipag.ttf
-hgothrn-h H ipag.ttf
-hgothrn-v V ipag.ttf
-
-otf-ujmbn-h UniJIS2004-UTF16-H ipam.ttf
-otf-ujmbn-v UniJIS2004-UTF16-V ipam.ttf
-hminbn-h H ipam.ttf
-hminbn-v V ipam.ttf
-
-otf-ujgbn-h UniJIS2004-UTF16-H ipag.ttf
-otf-ujgbn-v UniJIS2004-UTF16-V ipag.ttf
-hgothbn-h H ipag.ttf
-hgothbn-v V ipag.ttf
-
-otf-ujmgrn-h UniJIS2004-UTF16-H ipag.ttf
-otf-ujmgrn-v UniJIS2004-UTF16-V ipag.ttf
-hmgothrn-h H ipag.ttf
-hmgothrn-v V ipag.ttf
-
-otf-ujmln-h UniJIS2004-UTF16-H ipam.ttf
-otf-ujmln-v UniJIS2004-UTF16-V ipam.ttf
-hminln-h H ipam.ttf
-hminln-v V ipam.ttf
diff --git a/Build/source/extra/jfontmaps/ipa/otf-up-ipa.map b/Build/source/extra/jfontmaps/ipa/otf-up-ipa.map
deleted file mode 100644
index 3099e52fd01..00000000000
--- a/Build/source/extra/jfontmaps/ipa/otf-up-ipa.map
+++ /dev/null
@@ -1,43 +0,0 @@
-% otf on upTeX
-uphminr-h UniJIS-UTF16-H ipam.ttf
-uphminr-v UniJIS-UTF16-V ipam.ttf
-
-uphgothr-h UniJIS-UTF16-H ipag.ttf
-uphgothr-v UniJIS-UTF16-V ipag.ttf
-
-uphminb-h UniJIS-UTF16-H ipam.ttf
-uphminb-v UniJIS-UTF16-V ipam.ttf
-
-uphgothb-h UniJIS-UTF16-H ipag.ttf
-uphgothb-v UniJIS-UTF16-V ipag.ttf
-
-uphgotheb-h UniJIS-UTF16-H ipag.ttf
-uphgotheb-v UniJIS-UTF16-V ipag.ttf
-
-uphmgothr-h UniJIS-UTF16-H ipag.ttf
-uphmgothr-v UniJIS-UTF16-V ipag.ttf
-
-uphminl-h UniJIS-UTF16-H ipam.ttf
-uphminl-v UniJIS-UTF16-V ipam.ttf
-
-% otf on upTeX, JIS2004
-uphminrn-h UniJIS2004-UTF16-H ipam.ttf
-uphminrn-v UniJIS2004-UTF16-V ipam.ttf
-
-uphgothrn-h UniJIS2004-UTF16-H ipag.ttf
-uphgothrn-v UniJIS2004-UTF16-V ipag.ttf
-
-uphminbn-h UniJIS2004-UTF16-H ipam.ttf
-uphminbn-v UniJIS2004-UTF16-V ipam.ttf
-
-uphgothbn-h UniJIS2004-UTF16-H ipag.ttf
-uphgothbn-v UniJIS2004-UTF16-V ipag.ttf
-
-uphgothebn-h UniJIS2004-UTF16-H ipag.ttf
-uphgothebn-v UniJIS2004-UTF16-V ipag.ttf
-
-uphmgothrn-h UniJIS2004-UTF16-H ipag.ttf
-uphmgothrn-v UniJIS2004-UTF16-V ipag.ttf
-
-uphminln-h UniJIS2004-UTF16-H ipam.ttf
-uphminln-v UniJIS2004-UTF16-V ipam.ttf
diff --git a/Build/source/extra/jfontmaps/ipa/ptex-ipa.map b/Build/source/extra/jfontmaps/ipa/ptex-ipa.map
deleted file mode 100644
index 132acccc936..00000000000
--- a/Build/source/extra/jfontmaps/ipa/ptex-ipa.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H ipam.ttf
-rmlv V ipam.ttf
-gbm H ipag.ttf
-gbmv V ipag.ttf
-
diff --git a/Build/source/extra/jfontmaps/ipa/uptex-ipa.map b/Build/source/extra/jfontmaps/ipa/uptex-ipa.map
deleted file mode 100644
index baf933ea05a..00000000000
--- a/Build/source/extra/jfontmaps/ipa/uptex-ipa.map
+++ /dev/null
@@ -1,15 +0,0 @@
-%%
-%% upTeX
-%%
-
-urml UniJIS-UTF16-H ipam.ttf
-urmlv UniJIS-UTF16-V ipam.ttf
-ugbm UniJIS-UTF16-H ipag.ttf
-ugbmv UniJIS-UTF16-V ipag.ttf
-
-uprml-h UniJIS-UTF16-H ipam.ttf
-uprml-v UniJIS-UTF16-V ipam.ttf
-upgbm-h UniJIS-UTF16-H ipag.ttf
-upgbm-v UniJIS-UTF16-V ipag.ttf
-uprml-hq UniJIS-UCS2-H ipam.ttf
-upgbm-hq UniJIS-UCS2-H ipag.ttf
diff --git a/Build/source/extra/jfontmaps/ipaex/otf-ipaex.map b/Build/source/extra/jfontmaps/ipaex/otf-ipaex.map
deleted file mode 100644
index d45021565a1..00000000000
--- a/Build/source/extra/jfontmaps/ipaex/otf-ipaex.map
+++ /dev/null
@@ -1,75 +0,0 @@
-otf-ujmr-h UniJIS-UTF16-H ipaexm.ttf
-otf-ujmr-v UniJIS-UTF16-V ipaexm.ttf
-otf-cjmr-h Identity-H ipaexm.ttf/AJ16
-otf-cjmr-v Identity-V ipaexm.ttf/AJ16
-hminr-h H ipaexm.ttf
-hminr-v V ipaexm.ttf
-
-otf-ujgr-h UniJIS-UTF16-H ipaexg.ttf
-otf-ujgr-v UniJIS-UTF16-V ipaexg.ttf
-otf-cjgr-h Identity-H ipaexg.ttf/AJ16
-otf-cjgr-v Identity-V ipaexg.ttf/AJ16
-hgothr-h H ipaexg.ttf
-hgothr-v V ipaexg.ttf
-
-otf-ujmb-h UniJIS-UTF16-H ipaexm.ttf
-otf-ujmb-v UniJIS-UTF16-V ipaexm.ttf
-otf-cjmb-h Identity-H ipaexm.ttf/AJ16
-otf-cjmb-v Identity-V ipaexm.ttf/AJ16
-hminb-h H ipaexm.ttf
-hminb-v V ipaexm.ttf
-
-otf-ujgb-h UniJIS-UTF16-H ipaexg.ttf
-otf-ujgb-v UniJIS-UTF16-V ipaexg.ttf
-otf-cjgb-h Identity-H ipaexg.ttf/AJ16
-otf-cjgb-v Identity-V ipaexg.ttf/AJ16
-hgothb-h H ipaexg.ttf
-hgothb-v V ipaexg.ttf
-
-hgotheb-h H ipaexg.ttf
-hgotheb-v V ipaexg.ttf
-
-otf-ujmgr-h UniJIS-UTF16-H ipaexg.ttf
-otf-ujmgr-v UniJIS-UTF16-V ipaexg.ttf
-otf-cjmgr-h Identity-H ipaexg.ttf/AJ16
-otf-cjmgr-v Identity-V ipaexg.ttf/AJ16
-hmgothr-h H ipaexg.ttf
-hmgothr-v V ipaexg.ttf
-
-otf-ujml-h UniJIS-UTF16-H ipaexm.ttf
-otf-ujml-v UniJIS-UTF16-V ipaexm.ttf
-otf-cjml-h Identity-H ipaexm.ttf/AJ16
-otf-cjml-v Identity-V ipaexm.ttf/AJ16
-hminl-h H ipaexm.ttf
-hminl-v V ipaexm.ttf
-
-%for JIS X 0213:2004
-otf-ujmrn-h UniJIS2004-UTF16-H ipaexm.ttf
-otf-ujmrn-v UniJIS2004-UTF16-V ipaexm.ttf
-hminrn-h H ipaexm.ttf
-hminrn-v V ipaexm.ttf
-
-otf-ujgrn-h UniJIS2004-UTF16-H ipaexg.ttf
-otf-ujgrn-v UniJIS2004-UTF16-V ipaexg.ttf
-hgothrn-h H ipaexg.ttf
-hgothrn-v V ipaexg.ttf
-
-otf-ujmbn-h UniJIS2004-UTF16-H ipaexm.ttf
-otf-ujmbn-v UniJIS2004-UTF16-V ipaexm.ttf
-hminbn-h H ipaexm.ttf
-hminbn-v V ipaexm.ttf
-
-otf-ujgbn-h UniJIS2004-UTF16-H ipaexg.ttf
-otf-ujgbn-v UniJIS2004-UTF16-V ipaexg.ttf
-hgothbn-h H ipaexg.ttf
-hgothbn-v V ipaexg.ttf
-
-otf-ujmgrn-h UniJIS2004-UTF16-H ipaexg.ttf
-otf-ujmgrn-v UniJIS2004-UTF16-V ipaexg.ttf
-hmgothrn-h H ipaexg.ttf
-hmgothrn-v V ipaexg.ttf
-
-otf-ujmln-h UniJIS2004-UTF16-H ipaexm.ttf
-otf-ujmln-v UniJIS2004-UTF16-V ipaexm.ttf
-hminln-h H ipaexm.ttf
-hminln-v V ipaexm.ttf
diff --git a/Build/source/extra/jfontmaps/ipaex/otf-up-ipaex.map b/Build/source/extra/jfontmaps/ipaex/otf-up-ipaex.map
deleted file mode 100644
index 826a0b91853..00000000000
--- a/Build/source/extra/jfontmaps/ipaex/otf-up-ipaex.map
+++ /dev/null
@@ -1,43 +0,0 @@
-% otf on upTeX
-uphminr-h UniJIS-UTF16-H ipaexm.ttf
-uphminr-v UniJIS-UTF16-V ipaexm.ttf
-
-uphgothr-h UniJIS-UTF16-H ipaexg.ttf
-uphgothr-v UniJIS-UTF16-V ipaexg.ttf
-
-uphminb-h UniJIS-UTF16-H ipaexm.ttf
-uphminb-v UniJIS-UTF16-V ipaexm.ttf
-
-uphgothb-h UniJIS-UTF16-H ipaexg.ttf
-uphgothb-v UniJIS-UTF16-V ipaexg.ttf
-
-uphgotheb-h UniJIS-UTF16-H ipaexg.ttf
-uphgotheb-v UniJIS-UTF16-V ipaexg.ttf
-
-uphmgothr-h UniJIS-UTF16-H ipaexg.ttf
-uphmgothr-v UniJIS-UTF16-V ipaexg.ttf
-
-uphminl-h UniJIS-UTF16-H ipaexm.ttf
-uphminl-v UniJIS-UTF16-V ipaexm.ttf
-
-% otf on upTeX, JIS2004
-uphminrn-h UniJIS2004-UTF16-H ipaexm.ttf
-uphminrn-v UniJIS2004-UTF16-V ipaexm.ttf
-
-uphgothrn-h UniJIS2004-UTF16-H ipaexg.ttf
-uphgothrn-v UniJIS2004-UTF16-V ipaexg.ttf
-
-uphminbn-h UniJIS2004-UTF16-H ipaexm.ttf
-uphminbn-v UniJIS2004-UTF16-V ipaexm.ttf
-
-uphgothbn-h UniJIS2004-UTF16-H ipaexg.ttf
-uphgothbn-v UniJIS2004-UTF16-V ipaexg.ttf
-
-uphgothebn-h UniJIS2004-UTF16-H ipaexg.ttf
-uphgothebn-v UniJIS2004-UTF16-V ipaexg.ttf
-
-uphmgothrn-h UniJIS2004-UTF16-H ipaexg.ttf
-uphmgothrn-v UniJIS2004-UTF16-V ipaexg.ttf
-
-uphminln-h UniJIS2004-UTF16-H ipaexm.ttf
-uphminln-v UniJIS2004-UTF16-V ipaexm.ttf
diff --git a/Build/source/extra/jfontmaps/ipaex/ptex-ipaex.map b/Build/source/extra/jfontmaps/ipaex/ptex-ipaex.map
deleted file mode 100644
index c1717951026..00000000000
--- a/Build/source/extra/jfontmaps/ipaex/ptex-ipaex.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H ipaexm.ttf
-rmlv V ipaexm.ttf
-gbm H ipaexg.ttf
-gbmv V ipaexg.ttf
-
diff --git a/Build/source/extra/jfontmaps/ipaex/uptex-ipaex.map b/Build/source/extra/jfontmaps/ipaex/uptex-ipaex.map
deleted file mode 100644
index 9dfdac5f80b..00000000000
--- a/Build/source/extra/jfontmaps/ipaex/uptex-ipaex.map
+++ /dev/null
@@ -1,15 +0,0 @@
-%%
-%% upTeX
-%%
-
-urml UniJIS-UTF16-H ipaexm.ttf
-urmlv UniJIS-UTF16-V ipaexm.ttf
-ugbm UniJIS-UTF16-H ipaexg.ttf
-ugbmv UniJIS-UTF16-V ipaexg.ttf
-
-uprml-h UniJIS-UTF16-H ipaexm.ttf
-uprml-v UniJIS-UTF16-V ipaexm.ttf
-upgbm-h UniJIS-UTF16-H ipaexg.ttf
-upgbm-v UniJIS-UTF16-V ipaexg.ttf
-uprml-hq UniJIS-UCS2-H ipaexm.ttf
-upgbm-hq UniJIS-UCS2-H ipaexg.ttf
diff --git a/Build/source/extra/jfontmaps/kozuka/otf-kozuka.map b/Build/source/extra/jfontmaps/kozuka/otf-kozuka.map
deleted file mode 100644
index b9854821df7..00000000000
--- a/Build/source/extra/jfontmaps/kozuka/otf-kozuka.map
+++ /dev/null
@@ -1,77 +0,0 @@
-otf-ujmr-h UniJIS-UTF16-H KozMinPro-Regular.otf
-otf-ujmr-v UniJIS-UTF16-V KozMinPro-Regular.otf
-otf-cjmr-h Identity-H KozMinPro-Regular.otf
-otf-cjmr-v Identity-V KozMinPro-Regular.otf
-hminr-h H KozMinPro-Regular.otf
-hminr-v V KozMinPro-Regular.otf
-
-otf-ujgr-h UniJIS-UTF16-H KozGoPro-Regular.otf
-otf-ujgr-v UniJIS-UTF16-V KozGoPro-Regular.otf
-otf-cjgr-h Identity-H KozGoPro-Regular.otf
-otf-cjgr-v Identity-V KozGoPro-Regular.otf
-hgothr-h H KozGoPro-Regular.otf
-hgothr-v V KozGoPro-Regular.otf
-
-otf-ujmb-h UniJIS-UTF16-H KozMinPro-Bold.otf
-otf-ujmb-v UniJIS-UTF16-V KozMinPro-Bold.otf
-otf-cjmb-h Identity-H KozMinPro-Bold.otf
-otf-cjmb-v Identity-V KozMinPro-Bold.otf
-hminb-h H KozMinPro-Bold.otf
-hminb-v V KozMinPro-Bold.otf
-
-otf-ujgb-h UniJIS-UTF16-H KozGoPro-Bold.otf
-otf-ujgb-v UniJIS-UTF16-V KozGoPro-Bold.otf
-otf-cjgb-h Identity-H KozGoPro-Bold.otf
-otf-cjgb-v Identity-V KozGoPro-Bold.otf
-hgothb-h H KozGoPro-Bold.otf
-hgothb-v V KozGoPro-Bold.otf
-
-hgotheb-h H KozGoPro-Heavy.otf
-hgotheb-v V KozGoPro-Heavy.otf
-
-otf-ujmgr-h UniJIS-UTF16-H KozGoPro-Heavy.otf
-otf-ujmgr-v UniJIS-UTF16-V KozGoPro-Heavy.otf
-otf-cjmgr-h Identity-H KozGoPro-Heavy.otf
-otf-cjmgr-v Identity-V KozGoPro-Heavy.otf
-hmgothr-h H KozGoPro-Heavy.otf
-hmgothr-v V KozGoPro-Heavy.otf
-
-otf-ujml-h UniJIS-UTF16-H KozGoPro-Light.otf
-otf-ujml-v UniJIS-UTF16-V KozGoPro-Light.otf
-otf-cjml-h Identity-H KozGoPro-Light.otf
-otf-cjml-v Identity-V KozGoPro-Light.otf
-hminl-h H KozMinPro-Light.otf
-hminl-v V KozMinPro-Light.otf
-
-%
-% JIS 2004
-%
-otf-ujmrn-h UniJIS2004-UTF16-H KozMinPr6N-Regular.otf
-otf-ujmrn-v UniJIS2004-UTF16-V KozMinPr6N-Regular.otf
-hminrn-h H KozMinPr6N-Regular.otf
-hminrn-v V KozMinPr6N-Regular.otf
-
-otf-ujgrn-h UniJIS2004-UTF16-H KozGoPr6N-Regular.otf
-otf-ujgrn-v UniJIS2004-UTF16-V KozGoPr6N-Regular.otf
-hgothrn-h H KozGoPr6N-Regular.otf
-hgothrn-v V KozGoPr6N-Regular.otf
-
-otf-ujmbn-h UniJIS2004-UTF16-H KozMinPr6N-Bold.otf
-otf-ujmbn-v UniJIS2004-UTF16-V KozMinPr6N-Bold.otf
-hminbn-h H KozMinPr6N-Bold.otf
-hminbn-v V KozMinPr6N-Bold.otf
-
-otf-ujgbn-h UniJIS2004-UTF16-H KozGoPr6N-Bold.otf
-otf-ujgbn-v UniJIS2004-UTF16-V KozGoPr6N-Bold.otf
-hgothbn-h H KozGoPr6N-Bold.otf
-hgothbn-v V KozGoPr6N-Bold.otf
-
-otf-ujmgrn-h UniJIS2004-UTF16-H KozGoPr6N-Heavy.otf
-otf-ujmgrn-v UniJIS2004-UTF16-V KozGoPr6N-Heavy.otf
-hmgothrn-h H KozGoPr6N-Heavy.otf
-hmgothrn-v V KozGoPr6N-Heavy.otf
-
-otf-ujmln-h UniJIS2004-UTF16-H KozGoPro-Light.otf
-otf-ujmln-v UniJIS2004-UTF16-V KozGoPro-Light.otf
-hminln-h H KozMinPro-Light.otf
-hminln-v V KozMinPro-Light.otf
diff --git a/Build/source/extra/jfontmaps/kozuka/otf-up-kozuka.map b/Build/source/extra/jfontmaps/kozuka/otf-up-kozuka.map
deleted file mode 100644
index 701fd615219..00000000000
--- a/Build/source/extra/jfontmaps/kozuka/otf-up-kozuka.map
+++ /dev/null
@@ -1,15 +0,0 @@
-%
-% otf-up-kozuka.map
-% map file to support Kozuka fonts in uptex
-% based on the patch of TANAKA Takuji
-% from uptex-1.00-20120115a
-uphminr-h UniJIS-UTF16-H KozMinPro-Regular.otf
-uphminr-v UniJIS-UTF16-V KozMinPro-Regular.otf
-uphgothr-h UniJIS-UTF16-H KozGoStd-Regular.otf
-uphgothr-v UniJIS-UTF16-V KozGoStd-Regular.otf
-uphminb-h UniJIS-UTF16-H KozMinStd-Bold.otf
-uphminb-v UniJIS-UTF16-V KozMinStd-Bold.otf
-uphgothb-h UniJIS-UTF16-H KozGoStd-Bold.otf
-uphgothb-v UniJIS-UTF16-V KozGoStd-Bold.otf
-uphmgothr-h UniJIS-UTF16-H KozGoStd-Heavy.otf
-uphmgothr-v UniJIS-UTF16-V KozGoStd-Heavy.otf
diff --git a/Build/source/extra/jfontmaps/kozuka/ptex-kozuka-04.map b/Build/source/extra/jfontmaps/kozuka/ptex-kozuka-04.map
deleted file mode 100644
index c8d864310c5..00000000000
--- a/Build/source/extra/jfontmaps/kozuka/ptex-kozuka-04.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H KozMinPr6N-Regular.otf
-rmlv V KozMinPr6N-Regular.otf
-gbm H KozGoPr6N-Regular.otf
-gbmv V KozGoPr6N-Regular.otf
-
diff --git a/Build/source/extra/jfontmaps/kozuka/ptex-kozuka.map b/Build/source/extra/jfontmaps/kozuka/ptex-kozuka.map
deleted file mode 100644
index d302b80955b..00000000000
--- a/Build/source/extra/jfontmaps/kozuka/ptex-kozuka.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H KozMinPro-Regular.otf
-rmlv V KozMinPro-Regular.otf
-gbm H KozGoPro-Regular.otf
-gbmv V KozGoPro-Regular.otf
-
diff --git a/Build/source/extra/jfontmaps/kozuka/uptex-kozuka-04.map b/Build/source/extra/jfontmaps/kozuka/uptex-kozuka-04.map
deleted file mode 100644
index 63b13a9a015..00000000000
--- a/Build/source/extra/jfontmaps/kozuka/uptex-kozuka-04.map
+++ /dev/null
@@ -1,11 +0,0 @@
-urml UniJIS-UTF16-H KozMinPr6N-Regular.otf
-urmlv UniJIS-UTF16-V KozMinPr6N-Regular.otf
-ugbm UniJIS-UTF16-H KozGoPr6N-Regular.otf
-ugbmv UniJIS-UTF16-V KozGoPr6N-Regular.otf
-
-uprml-h UniJIS-UTF16-H KozMinPr6N-Regular.otf
-uprml-v UniJIS-UTF16-V KozMinPr6N-Regular.otf
-upgbm-h UniJIS-UTF16-H KozGoPr6N-Regular.otf
-upgbm-v UniJIS-UTF16-V KozGoPr6N-Regular.otf
-uprml-hq UniJIS-UCS2-H KozMinPr6N-Regular.otf
-upgbm-hq UniJIS-UCS2-H KozGoPr6N-Regular.otf
diff --git a/Build/source/extra/jfontmaps/kozuka/uptex-kozuka.map b/Build/source/extra/jfontmaps/kozuka/uptex-kozuka.map
deleted file mode 100644
index 15ea7242917..00000000000
--- a/Build/source/extra/jfontmaps/kozuka/uptex-kozuka.map
+++ /dev/null
@@ -1,11 +0,0 @@
-urml UniJIS-UTF16-H KozMinPro-Regular.otf
-urmlv UniJIS-UTF16-V KozMinPro-Regular.otf
-ugbm UniJIS-UTF16-H KozGoPro-Regular.otf
-ugbmv UniJIS-UTF16-V KozGoPro-Regular.otf
-
-uprml-h UniJIS-UTF16-H KozMinPro-Regular.otf
-uprml-v UniJIS-UTF16-V KozMinPro-Regular.otf
-upgbm-h UniJIS-UTF16-H KozGoPro-Regular.otf
-upgbm-v UniJIS-UTF16-V KozGoPro-Regular.otf
-uprml-hq UniJIS-UCS2-H KozMinPro-Regular.otf
-upgbm-hq UniJIS-UCS2-H KozGoPro-Regular.otf
diff --git a/Build/source/extra/jfontmaps/morisawa/otf-morisawa.map b/Build/source/extra/jfontmaps/morisawa/otf-morisawa.map
deleted file mode 100644
index 2dab843dc8c..00000000000
--- a/Build/source/extra/jfontmaps/morisawa/otf-morisawa.map
+++ /dev/null
@@ -1,77 +0,0 @@
-otf-ujmr-h UniJIS-UTF16-H A-OTF-RyuminPro-Light.otf
-otf-ujmr-v UniJIS-UTF16-V A-OTF-RyuminPro-Light.otf
-otf-cjmr-h Identity-H A-OTF-RyuminPro-Light.otf
-otf-cjmr-v Identity-V A-OTF-RyuminPro-Light.otf
-hminr-h H A-OTF-RyuminPro-Light.otf
-hminr-v V A-OTF-RyuminPro-Light.otf
-
-otf-ujgr-h UniJIS-UTF16-H A-OTF-GothicBBBPro-Medium.otf
-otf-ujgr-v UniJIS-UTF16-V A-OTF-GothicBBBPro-Medium.otf
-otf-cjgr-h Identity-H A-OTF-GothicBBBPro-Medium.otf
-otf-cjgr-v Identity-V A-OTF-GothicBBBPro-Medium.otf
-hgothr-h H A-OTF-GothicBBBPro-Medium.otf
-hgothr-v V A-OTF-GothicBBBPro-Medium.otf
-
-otf-ujmb-h UniJIS-UTF16-H A-OTF-FutoMinA101Pro-Bold.otf
-otf-ujmb-v UniJIS-UTF16-V A-OTF-FutoMinA101Pro-Bold.otf
-otf-cjmb-h Identity-H A-OTF-FutoMinA101Pro-Bold.otf
-otf-cjmb-v Identity-V A-OTF-FutoMinA101Pro-Bold.otf
-hminb-h H A-OTF-FutoMinA101Pro-Bold.otf
-hminb-v V A-OTF-FutoMinA101Pro-Bold.otf
-
-otf-ujgb-h UniJIS-UTF16-H A-OTF-FutoGoB101Pro-Bold.otf
-otf-ujgb-v UniJIS-UTF16-V A-OTF-FutoGoB101Pro-Bold.otf
-otf-cjgb-h Identity-H A-OTF-FutoGoB101Pro-Bold.otf
-otf-cjgb-v Identity-V A-OTF-FutoGoB101Pro-Bold.otf
-hgothb-h H A-OTF-FutoGoB101Pro-Bold.otf
-hgothb-v V A-OTF-FutoGoB101Pro-Bold.otf
-
-hgotheb-h H A-OTF-MidashiGoPro-MB31.otf
-hgotheb-v V A-OTF-MidashiGoPro-MB31.otf
-
-otf-ujmgr-h UniJIS-UTF16-H A-OTF-Jun101Pro-Light.otf
-otf-ujmgr-v UniJIS-UTF16-V A-OTF-Jun101Pro-Light.otf
-otf-cjmgr-h Identity-H A-OTF-Jun101Pro-Light.otf
-otf-cjmgr-v Identity-V A-OTF-Jun101Pro-Light.otf
-hmgothr-h H A-OTF-Jun101Pro-Light.otf
-hmgothr-v V A-OTF-Jun101Pro-Light.otf
-
-otf-ujml-h UniJIS-UTF16-H A-OTF-RyuminPro-Light.otf
-otf-ujml-v UniJIS-UTF16-V A-OTF-RyuminPro-Light.otf
-otf-cjml-h Identity-H A-OTF-RyuminPro-Light.otf
-otf-cjml-v Identity-V A-OTF-RyuminPro-Light.otf
-hminl-h H A-OTF-RyuminPro-Light.otf
-hminl-v V A-OTF-RyuminPro-Light.otf
-
-%
-% JIS 2004
-%
-otf-ujmrn-h UniJIS2004-UTF16-H A-OTF-RyuminPr6N-Light.otf
-otf-ujmrn-v UniJIS2004-UTF16-V A-OTF-RyuminPr6N-Light.otf
-hminrn-h H A-OTF-RyuminPr6N-Light.otf
-hminrn-v V A-OTF-RyuminPr6N-Light.otf
-
-otf-ujgrn-h UniJIS2004-UTF16-H A-OTF-GothicBBBPr6N-Medium.otf
-otf-ujgrn-v UniJIS2004-UTF16-V A-OTF-GothicBBBPr6N-Medium.otf
-hgothrn-h H A-OTF-GothicBBBPr6N-Medium.otf
-hgothrn-v V A-OTF-GothicBBBPr6N-Medium.otf
-
-otf-ujmbn-h UniJIS2004-UTF16-H A-OTF-FutoMinA101Pr6N-Bold.otf
-otf-ujmbn-v UniJIS2004-UTF16-V A-OTF-FutoMinA101Pr6N-Bold.otf
-hminbn-h H A-OTF-FutoMinA101Pr6N-Bold.otf
-hminbn-v V A-OTF-FutoMinA101Pr6N-Bold.otf
-
-otf-ujgbn-h UniJIS2004-UTF16-H A-OTF-FutoGoB101Pr6N-Bold.otf
-otf-ujgbn-v UniJIS2004-UTF16-V A-OTF-FutoGoB101Pr6N-Bold.otf
-hgothbn-h H A-OTF-FutoGoB101Pr6N-Bold.otf
-hgothbn-v V A-OTF-FutoGoB101Pr6N-Bold.otf
-
-otf-ujmgrn-h UniJIS2004-UTF16-H A-OTF-Jun101Pr6N-Light.otf
-otf-ujmgrn-v UniJIS2004-UTF16-V A-OTF-Jun101Pr6N-Light.otf
-hmgothrn-h H A-OTF-Jun101Pr6N-Light.otf
-hmgothrn-v V A-OTF-Jun101Pr6N-Light.otf
-
-otf-ujmln-h UniJIS2004-UTF16-H A-OTF-RyuminPr6N-Light.otf
-otf-ujmln-v UniJIS2004-UTF16-V A-OTF-RyuminPr6N-Light.otf
-hminln-h H A-OTF-RyuminPr6N-Light.otf
-hminln-v V A-OTF-RyuminPr6N-Light.otf
diff --git a/Build/source/extra/jfontmaps/morisawa/otf-up-morisawa.map b/Build/source/extra/jfontmaps/morisawa/otf-up-morisawa.map
deleted file mode 100644
index 8c66911d355..00000000000
--- a/Build/source/extra/jfontmaps/morisawa/otf-up-morisawa.map
+++ /dev/null
@@ -1,15 +0,0 @@
-%
-% otf-up-morisawa.map
-% map file to support Morisawa fonts in uptex
-% based on the patch of TANAKA Takuji
-% from uptex-1.00-20120115a
-uphminr-h UniJIS-UTF16-H A-OTF-RyuminPro-Light.otf
-uphminr-v UniJIS-UTF16-V A-OTF-RyuminPro-Light.otf
-uphgothr-h UniJIS-UTF16-H A-OTF-GothicBBBPro-Medium.otf
-uphgothr-v UniJIS-UTF16-V A-OTF-GothicBBBPro-Medium.otf
-uphminb-h UniJIS-UTF16-H A-OTF-FutoMinA101Pro-Bold.otf
-uphminb-v UniJIS-UTF16-V A-OTF-FutoMinA101Pro-Bold.otf
-uphgothb-h UniJIS-UTF16-H A-OTF-FutoGoB101Pro-Bold.otf
-uphgothb-v UniJIS-UTF16-V A-OTF-FutoGoB101Pro-Bold.otf
-uphmgothr-h UniJIS-UTF16-H A-OTF-Jun101Pro-Light.otf
-uphmgothr-v UniJIS-UTF16-V A-OTF-Jun101Pro-Light.otf
diff --git a/Build/source/extra/jfontmaps/morisawa/ptex-morisawa-04.map b/Build/source/extra/jfontmaps/morisawa/ptex-morisawa-04.map
deleted file mode 100644
index 82f82dc786a..00000000000
--- a/Build/source/extra/jfontmaps/morisawa/ptex-morisawa-04.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H A-OTF-RyuminPr6N-Light.otf
-rmlv V A-OTF-RyuminPr6N-Light.otf
-gbm H A-OTF-GothicBBBPr6N-Medium.otf
-gbmv V A-OTF-GothicBBBPr6N-Medium.otf
-
diff --git a/Build/source/extra/jfontmaps/morisawa/ptex-morisawa.map b/Build/source/extra/jfontmaps/morisawa/ptex-morisawa.map
deleted file mode 100644
index 1c2fa50fce8..00000000000
--- a/Build/source/extra/jfontmaps/morisawa/ptex-morisawa.map
+++ /dev/null
@@ -1,9 +0,0 @@
-%%
-%% ASCII pTeX
-%%
-
-rml H A-OTF-RyuminPro-Light.otf
-rmlv V A-OTF-RyuminPro-Light.otf
-gbm H A-OTF-GothicBBBPro-Medium.otf
-gbmv V A-OTF-GothicBBBPro-Medium.otf
-
diff --git a/Build/source/extra/jfontmaps/morisawa/uptex-morisawa-04.map b/Build/source/extra/jfontmaps/morisawa/uptex-morisawa-04.map
deleted file mode 100644
index 5c67f915aa0..00000000000
--- a/Build/source/extra/jfontmaps/morisawa/uptex-morisawa-04.map
+++ /dev/null
@@ -1,11 +0,0 @@
-urml UniJIS-UTF16-H A-OTF-RyuminPr6N-Light.otf
-urmlv UniJIS-UTF16-V A-OTF-RyuminPr6N-Light.otf
-ugbm UniJIS-UTF16-H A-OTF-GothicBBBPr6N-Medium.otf
-ugbmv UniJIS-UTF16-V A-OTF-GothicBBBPr6N-Medium.otf
-
-uprml-h UniJIS-UTF16-H A-OTF-RyuminPr6N-Light.otf
-uprml-v UniJIS-UTF16-V A-OTF-RyuminPr6N-Light.otf
-upgbm-h UniJIS-UTF16-H A-OTF-GothicBBBPr6N-Medium.otf
-upgbm-v UniJIS-UTF16-V A-OTF-GothicBBBPr6N-Medium.otf
-uprml-hq UniJIS-UCS2-H A-OTF-RyuminPr6N-Light.otf
-upgbm-hq UniJIS-UCS2-H A-OTF-GothicBBBPr6N-Medium.otf
diff --git a/Build/source/extra/jfontmaps/morisawa/uptex-morisawa.map b/Build/source/extra/jfontmaps/morisawa/uptex-morisawa.map
deleted file mode 100644
index ddd6bb82ba3..00000000000
--- a/Build/source/extra/jfontmaps/morisawa/uptex-morisawa.map
+++ /dev/null
@@ -1,11 +0,0 @@
-urml UniJIS-UTF16-H A-OTF-RyuminPro-Light.otf
-urmlv UniJIS-UTF16-V A-OTF-RyuminPro-Light.otf
-ugbm UniJIS-UTF16-H A-OTF-GothicBBBPro-Medium.otf
-ugbmv UniJIS-UTF16-V A-OTF-GothicBBBPro-Medium.otf
-
-uprml-h UniJIS-UTF16-H A-OTF-RyuminPro-Light.otf
-uprml-v UniJIS-UTF16-V A-OTF-RyuminPro-Light.otf
-upgbm-h UniJIS-UTF16-H A-OTF-GothicBBBPro-Medium.otf
-upgbm-v UniJIS-UTF16-V A-OTF-GothicBBBPro-Medium.otf
-uprml-hq UniJIS-UCS2-H A-OTF-RyuminPro-Light.otf
-upgbm-hq UniJIS-UCS2-H A-OTF-GothicBBBPro-Medium.otf
diff --git a/Build/source/extra/jfontmaps/script/kanji-fontmap-creator.pl b/Build/source/extra/jfontmaps/script/kanji-fontmap-creator.pl
deleted file mode 100644
index c6741ae14e8..00000000000
--- a/Build/source/extra/jfontmaps/script/kanji-fontmap-creator.pl
+++ /dev/null
@@ -1,592 +0,0 @@
-#!/usr/bin/env perl
-#
-# kanji-fontmap-creator
-# (c) 2012 Norbert Preining
-# Licenced under the GPLv2 or any higher version
-#
-# gui to create map files for updmap(-setup-kanji)
-#
-# ptex/uptex:
-# 2 fonts (rml/gbm)
-# 2 variants
-# (ev vertical/horizontal)
-#
-# otf/otf-up:
-#
-# 2 variants
-# fonts:
-# gothic: regular, bold, heavy, maru
-# mincho: regular, bold, light
-#
-# possible improvements:
-# - allow editing current files by reading and interpreting them
-# needs better structure of the data
-# - specify output directory, automatically write to $TEXMFLOCAL ?
-# - more checks, warnings?
-#
-
-$^W = 1;
-use strict;
-
-use Tk;
-use Tk::NoteBook;
-use Tk::Dialog;
-use Cwd;
-use Getopt::Long qw(:config no_autoabbrev);
-use Pod::Usage;
-
-my $opt_lang = "en";
-my $opt_help = 0;
-my $opt_version = 0;
-
-my $prg = "kanji-fontmap-creator";
-my $svnrev = '$Revision$';
-$svnrev =~ m/: ([0-9]+) /;
-my $version = "0.1 (svn$svnrev)";
-
-
-#
-# global vars configuring operation
-my $group_name = "";
-my $do_vertical = 0;
-my $do_iso2004 = 0;
-my $do_otf = 0;
-my @f_mincho_regular; my @f_gothic_regular;
-my @f_mincho_bold; my @f_gothic_bold;
-my @f_gothic_heavy;
-my @f_gothic_maru;
-my @f_mincho_light;
-my $b_save;
-
-my $iso_i = 1;
-my $vert_i = 2;
-my $isovert_i = 3;
-my @order;
-
-my $mw;
-
-$order[0] = 'Default';
-$order[$iso_i] = 'ISO2004';
-$order[$vert_i] = 'Vertical';
-$order[$isovert_i] = 'ISO2004/Vertical';
-
-
-GetOptions(
- "lang=s" => \$opt_lang,
- "version" => \$opt_version,
- "help|?|h" => \$opt_help) or pod2usage(1);
-
-if (win32()) {
- pod2usage(-exitstatus => 0,
- -verbose => 2,
- -noperldoc => 1,
- -output => \*STDOUT) if $opt_help;
-} else {
- pod2usage(-exitstatus => 0, -verbose => 2, -file => $0) if $opt_help;
-}
-
-if ($opt_version) {
- print "$prg $version\n";
- exit 0;
-}
-
-if ($opt_lang ne "en") {
- print STDERR "$prg: languages other than en currently not implemented.\n";
-}
-
-&main();
-
-sub main {
- #
- #
- $mw = MainWindow->new;
- $mw->title("Kanji Fontmap Creator");
- $mw->optionAdd("*Button.Relief", "ridge", 20);
- my $tf = $mw->Frame;
- my $nb = $mw->NoteBook;
- my $bf = $mw->Frame;
- #
- # top frame
- #
- my $name_label = $tf->Label(-text => "Group name:");
- my $name_entry = $tf->Entry(-width => 30, -textvariable => \$group_name,
- -validate => "all", -validatecommand => \&validate_group_name);
- my $opt_label = $tf->Label(-text => "Options:");
- my $opt_vert = $tf->Checkbutton(-text => "separate vertical fonts",
- -variable => \$do_vertical);
- my $opt_iso = $tf->Checkbutton(-text => "separate ISO 2004 support",
- -variable => \$do_iso2004 );
- my $opt_otf = $tf->Checkbutton(-text => "OTF support",
- -variable => \$do_otf);
- #
- # pack the stuff
- $name_label->grid(-row => 0, -column => 0, -sticky => "e");
- $name_entry->grid(-row => 0, -column => 1, -sticky => "w");
- $opt_label->grid(-row => 1, -column => 0, -sticky => "e");
- $opt_otf->grid(-row => 1, -column => 1, -sticky => "w");
- $opt_iso->grid(-column => 1, -sticky => "w");
- $opt_vert->grid(-column => 1, -sticky => "w");
- #
- # notebook part
- my @p;
- for my $i (0..$#order) {
- $p[$i] = $nb->add($order[$i], -label => $order[$i],
- -state => ($i > 0 ? "disabled" : "normal"));
- }
- #
- # pack outer window
- $tf->pack(-expand => 1, -fill => 'x', -padx => '4m', -pady => '4m');
- $nb->pack(-expand => 1, -fill => 'both', -padx => '4m');
- $bf->pack(-expand => 1, -fill => 'x', -padx => '4m', -pady => '4m');
- #
- #
- my @l_mincho; my @l_gothic;
- my @l_regular;
- my @l_bold;
- my @l_heavy;
- my @l_light;
- my @l_maru;
- my @e_mincho_regular; my @e_gothic_regular;
- my @e_mincho_bold; my @e_gothic_bold;
- my @e_gothic_heavy;
- my @e_gothic_maru;
- my @e_mincho_light;
- my $ew = 20;
- for my $i (0..$#order) {
- $l_mincho[$i] = $p[$i]->Label(-text => "Mincho");
- $l_gothic[$i] = $p[$i]->Label(-text => "Gothic");
- #
- $l_regular[$i] = $p[$i]->Label(-text => "Regular");
- $e_mincho_regular[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_mincho_regular[$i]);
- $e_gothic_regular[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_gothic_regular[$i]);
- #
- $l_bold[$i] = $p[$i]->Label(-text => "Bold", -state => "disabled");
- $e_mincho_bold[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_mincho_bold[$i],
- -state => "disabled", -relief => "flat");
- $e_gothic_bold[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_gothic_bold[$i],
- -state => "disabled", -relief => "flat");
- #
- $l_heavy[$i] = $p[$i]->Label(-text => "Heavy", -state => "disabled");
- $l_light[$i] = $p[$i]->Label(-text => "Light", -state => "disabled");
- $l_maru[$i] = $p[$i]->Label(-text => "Maru", -state => "disabled");
- $e_gothic_heavy[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_gothic_heavy[$i],
- -state => "disabled", -relief => "flat");
- $e_gothic_maru[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_gothic_maru[$i],
- -state => "disabled", -relief => "flat");
- $e_mincho_light[$i] = $p[$i]->Entry(-width => $ew,
- -textvariable => \$f_mincho_light[$i],
- -state => "disabled", -relief => "flat");
- #
- # grid the whole stuff
- $l_mincho[$i]->grid(-row => 0, -column => 1);
- $l_gothic[$i]->grid(-row => 0, -column => 2);
- #
- $l_regular[$i]->grid(-row => 1, -column => 0, -sticky => "e");
- $e_mincho_regular[$i]->grid(-row => 1, -column => 1);
- $e_gothic_regular[$i]->grid(-row => 1, -column => 2);
- #
- $l_bold[$i]->grid(-row => 3, -column => 0, -sticky => "e");
- $e_mincho_bold[$i]->grid(-row => 3, -column => 1);
- $e_gothic_bold[$i]->grid(-row => 3, -column => 2);
- #
- $l_heavy[$i]->grid(-row => 4, -column => 0, -sticky => "e");
- $e_gothic_heavy[$i]->grid(-row => 4, -column => 1);
- $l_maru[$i]->grid(-row => 5, -column => 0, -sticky => "e");
- $e_gothic_maru[$i]->grid(-row => 5, -column => 2);
- $l_light[$i]->grid(-row => 6, -column => 0, -sticky => "e");
- $e_mincho_light[$i]->grid(-row => 6, -column => 2);
- }
- #
- # Button frame
- $b_save = $bf->Button(-text => "Save");
-
- #
- # Actions:
- #
- # activate tabs when options are selected
- $opt_vert->configure(-command => sub {
- if (!$do_vertical && ($nb->raised() =~ m/Vertical/)) {
- $nb->raise("Default");
- }
- $nb->pageconfigure("Vertical",
- -state => ($do_vertical ? "normal" : "disabled"));
- $nb->pageconfigure("ISO2004/Vertical",
- -state => (($do_vertical & $do_iso2004) ? "normal" : "disabled"))
- });
- $opt_iso->configure(-command => sub {
- if (!$do_iso2004 && ($nb->raised() =~ m/ISO2004/)) {
- $nb->raise("Default");
- }
- $nb->pageconfigure("ISO2004",
- -state => ($do_iso2004 ? "normal" : "disabled"));
- $nb->pageconfigure("ISO2004/Vertical",
- -state => (($do_vertical & $do_iso2004) ? "normal" : "disabled"))
- });
-
- # activate lower part for when otf is selected
- $opt_otf->configure(-command => sub {
- for my $i (0..$#order) {
- $l_light[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"));
- $e_mincho_light[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"),
- -relief => ($do_otf ? "sunken" : "flat"));
- #
- $l_bold[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"));
- $e_mincho_bold[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"),
- -relief => ($do_otf ? "sunken" : "flat"));
- $e_gothic_bold[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"),
- -relief => ($do_otf ? "sunken" : "flat"));
- #
- $l_heavy[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"));
- $l_maru[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"));
- $e_gothic_maru[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"),
- -relief => ($do_otf ? "sunken" : "flat"));
- $e_gothic_heavy[$i]->configure(
- -state => ($do_otf ? "normal" : "disabled"),
- -relief => ($do_otf ? "sunken" : "flat"));
- }
- });
- #
- #
- $b_save->configure(-command => \&export_font_maps, -state => "disabled");
- $b_save->pack;
-
- Tk::MainLoop();
-}
-
-sub validate_group_name {
- my ($new_val, undef, $old_val) = @_;
- $b_save->configure(-state => ($new_val eq "" ? "disabled" : "normal"));
- return 1;
-}
-
-sub addgroup {
- my ($str, $fref, $i_a, $i_b, @entries) = @_;
- my $do = 1;
- while (@entries) {
- my $tfm = shift @entries;
- my $enc = shift @entries;
- addlines($str, $tfm, $enc, ($do ? $fref->[$i_a] : $fref->[$i_b]));
- $do = !$do;
- }
-}
-
-sub addlines {
- my ($strref, @entries) = @_;
- while (@entries) {
- my $tfm = shift @entries;
- my $enc = shift @entries;
- my $fn = shift @entries;
- if (defined($fn)) {
- $$strref .= "$tfm $enc $fn\n";
- } else {
- print STDERR "target file for $tfm $enc not defined!\n";
- }
- }
-}
-
-sub export_font_maps {
- if ($group_name eq "") {
- print STDERR "That should not happen!\n";
- exit 1;
- }
-
- # indirections
- my $ii = ($do_iso2004 ? $iso_i : 0);
- my $vi = ($do_vertical ? $vert_i : 0);
- my $ivi = (($do_vertical && $do_vertical) ? $isovert_i : 0);
- #
-
- my ($ptexlines, $ptex04lines, $uptexlines, $uptex04lines);
- my ($otflines, $otfuplines);
- addlines(\$ptexlines,
- 'rml', 'H', $f_mincho_regular[0],
- 'rmlv','V', $f_mincho_regular[$vi],
- 'gbm', 'H', $f_gothic_regular[0],
- 'gbmv','V', $f_gothic_regular[$vi]);
- addlines(\$ptex04lines,
- 'rml', 'H', $f_mincho_regular[$ii],
- 'rmlv','V', $f_mincho_regular[$ivi],
- 'gbm', 'H', $f_gothic_regular[$ii],
- 'gbmv','V', $f_gothic_regular[$ivi]);
- addlines(\$uptexlines,
- 'urml', 'UniJIS-UTF16-H', $f_mincho_regular[0],
- 'urmlv', 'UniJIS-UTF16-V', $f_mincho_regular[$vi],
- 'ugbm', 'UniJIS-UTF16-H', $f_gothic_regular[0],
- 'ugbmv', 'UniJIS-UTF16-V', $f_gothic_regular[$vi],
- 'uprml-h', 'UniJIS-UTF16-H', $f_mincho_regular[0],
- 'uprml-v', 'UniJIS-UTF16-V', $f_mincho_regular[$vi],
- 'upgbm-h', 'UniJIS-UTF16-H', $f_gothic_regular[0],
- 'upgbm-v', 'UniJIS-UTF16-V', $f_gothic_regular[$vi],
- 'uprml-hq', 'UniJIS-UCS2-H', $f_mincho_regular[0],
- 'upgbm-hq', 'UniJIS-UCS2-H', $f_gothic_regular[0]);
- addlines(\$uptex04lines,
- 'urml', 'UniJIS-UTF16-H', $f_mincho_regular[$ii],
- 'urmlv', 'UniJIS-UTF16-V', $f_mincho_regular[$ivi],
- 'ugbm', 'UniJIS-UTF16-H', $f_gothic_regular[$ii],
- 'ugbmv', 'UniJIS-UTF16-V', $f_gothic_regular[$ivi],
- 'uprml-h', 'UniJIS-UTF16-H', $f_mincho_regular[$ii],
- 'uprml-v', 'UniJIS-UTF16-V', $f_mincho_regular[$ivi],
- 'upgbm-h', 'UniJIS-UTF16-H', $f_gothic_regular[$ii],
- 'upgbm-v', 'UniJIS-UTF16-V', $f_gothic_regular[$ivi],
- 'uprml-hq', 'UniJIS-UCS2-H', $f_mincho_regular[$ii],
- 'upgbm-hq', 'UniJIS-UCS2-H', $f_gothic_regular[$ii]);
-
-
- addlines(\$otflines,
- '%', 'mincho regular', '',
- 'otf-ujmr-h', 'UniJIS-UTF16-H', $f_mincho_regular[0],
- 'otf-ujmr-v', 'UniJIS-UTF16-V', $f_mincho_regular[$vi],
- 'otf-cjmr-h', 'Identity-H', $f_mincho_regular[0],
- 'otf-cjmr-v', 'Identity-V', $f_mincho_regular[$vi],
- 'hminr-h', 'H', $f_mincho_regular[0],
- 'hminr-v', 'V', $f_mincho_regular[$vi],
- '%', 'gothic regular', '',
- 'otf-ujgr-h', 'UniJIS-UTF16-H', $f_gothic_regular[0],
- 'otf-ujgr-v', 'UniJIS-UTF16-V', $f_gothic_regular[$vi],
- 'otf-cjgr-h', 'Identity-H', $f_gothic_regular[0],
- 'otf-cjgr-v', 'Identity-V', $f_gothic_regular[$vi],
- 'hgothr-h', 'H', $f_gothic_regular[0],
- 'hgothr-v', 'V', $f_gothic_regular[$vi],
- '%', 'mincho bold', '');
- addgroup(\$otflines, ($do_otf ? \@f_mincho_bold : \@f_mincho_regular),
- 0, $vi,
- 'otf-ujmb-h', 'UniJIS-UTF16-H',
- 'otf-ujmb-v', 'UniJIS-UTF16-V',
- 'otf-cjmb-h', 'Identity-H',
- 'otf-cjmb-v', 'Identity-V',
- 'hminb-h', 'H',
- 'hminb-v', 'V');
- addlines(\$otflines, '%', 'gothic bold', '');
- addgroup(\$otflines, ($do_otf ? \@f_gothic_bold : \@f_gothic_regular),
- 0, $vi,
- 'otf-ujgb-h', 'UniJIS-UTF16-H',
- 'otf-ujgb-v', 'UniJIS-UTF16-V',
- 'otf-cjgb-h', 'Identity-H',
- 'otf-cjgb-v', 'Identity-V',
- 'hgothb-h', 'H',
- 'hgothb-v', 'V');
- addlines(\$otflines, '%', 'gothic heavy', '');
- addgroup(\$otflines, ($do_otf ? \@f_gothic_heavy : \@f_gothic_regular),
- 0, $vi,
- 'hgotheb-h', 'H',
- 'hgotheb-v', 'V');
- addlines(\$otflines, '%', 'gothic maru', '');
- addgroup(\$otflines, ($do_otf ? \@f_gothic_maru : \@f_gothic_regular),
- 0, $vi,
- 'otf-ujmgr-h', 'UniJIS-UTF16-H',
- 'otf-ujmgr-v', 'UniJIS-UTF16-V',
- 'otf-cjmgr-h', 'Identity-H',
- 'otf-cjmgr-v', 'Identity-V',
- 'hmgothr-h', 'H',
- 'hmgothr-v', 'V');
- addlines(\$otflines, '%', 'mincho light', '');
- addgroup(\$otflines, ($do_otf ? \@f_mincho_light : \@f_mincho_regular),
- 0, $vi,
- 'otf-ujml-h', 'UniJIS-UTF16-H',
- 'otf-ujml-v', 'UniJIS-UTF16-V',
- 'otf-cjml-h', 'Identity-H',
- 'otf-cjml-v', 'Identity-V',
- 'hminl-h', 'H',
- 'hminl-v', 'V');
- addlines(\$otflines, '%', 'JIS 2004', '',
- 'otf-ujmrn-h', 'UniJIS2004-UTF16-H', $f_mincho_regular[$ii],
- 'otf-ujmrn-v', 'UniJIS2004-UTF16-V', $f_mincho_regular[$ivi],
- 'hminrn-h', 'H', $f_mincho_regular[$ii],
- 'hminrn-v', 'V', $f_mincho_regular[$ivi],
- '%', '', '',
- 'otf-ujgrn-h', 'UniJIS2004-UTF16-H', $f_gothic_regular[$ii],
- 'otf-ujgrn-v', 'UniJIS2004-UTF16-V', $f_gothic_regular[$ivi],
- 'hgothrn-h', 'H' , $f_gothic_regular[$ii],
- 'hgothrn-v', 'V' , $f_gothic_regular[$ivi],
- '%', '', '');
- addgroup(\$otflines, ($do_otf ? \@f_mincho_bold : \@f_mincho_regular),
- $ii, $ivi,
- 'otf-ujmbn-h', 'UniJIS2004-UTF16-H',
- 'otf-ujmbn-v', 'UniJIS2004-UTF16-V',
- 'hminbn-h', 'H',
- 'hminbn-v', 'V');
- addlines(\$otflines, '%', '', '');
- addgroup(\$otflines, ($do_otf ? \@f_gothic_bold : \@f_gothic_regular),
- $ii, $ivi,
- 'otf-ujgbn-h', 'UniJIS2004-UTF16-H',
- 'otf-ujgbn-v', 'UniJIS2004-UTF16-V',
- 'hgothbn-h', 'H',
- 'hgothbn-v', 'V');
- addlines(\$otflines, '%', '', '');
- addgroup(\$otflines, ($do_otf ? \@f_gothic_heavy : \@f_gothic_regular),
- $ii, $ivi,
- 'otf-ujmgrn-h', 'UniJIS2004-UTF16-H',
- 'otf-ujmgrn-v', 'UniJIS2004-UTF16-V',
- 'hmgothrn-h', 'H',
- 'hmgothrn-v', 'V');
- addlines(\$otflines, '%', '', '');
- addgroup(\$otflines, ($do_otf ? \@f_mincho_light : \@f_mincho_regular),
- $ii, $ivi,
- 'otf-ujmln-h', 'UniJIS2004-UTF16-H',
- 'otf-ujmln-v', 'UniJIS2004-UTF16-V',
- 'hminln-h', 'H',
- 'hminln-v', 'V');
-
- addlines(\$otfuplines,
- 'uphminr-h', 'UniJIS-UTF16-H', $f_mincho_regular[0],
- 'uphminr-v', 'UniJIS-UTF16-V', $f_mincho_regular[$vi],
- 'uphgothr-h', 'UniJIS-UTF16-H', $f_gothic_regular[0],
- 'uphgothr-v', 'UniJIS-UTF16-V', $f_gothic_regular[$vi]);
- addgroup(\$otfuplines, ($do_otf ? \@f_mincho_bold : \@f_mincho_regular),
- 0, $vi,
- 'uphminb-h', 'UniJIS-UTF16-H',
- 'uphminb-v', 'UniJIS-UTF16-V');
- addgroup(\$otfuplines, ($do_otf ? \@f_gothic_bold : \@f_gothic_regular),
- 0, $vi,
- 'uphgothb-h', 'UniJIS-UTF16-H',
- 'uphgothb-v', 'UniJIS-UTF16-V');
- addgroup(\$otfuplines, ($do_otf ? \@f_gothic_heavy : \@f_gothic_regular),
- 0, $vi,
- 'uphgotheb-h', 'UniJIS-UTF16-H',
- 'uphgotheb-v', 'UniJIS-UTF16-V');
- addgroup(\$otfuplines, ($do_otf ? \@f_gothic_maru : \@f_gothic_regular),
- 0, $vi,
- 'uphmgothr-h', 'UniJIS-UTF16-H',
- 'uphmgothr-v', 'UniJIS-UTF16-V');
- addgroup(\$otfuplines, ($do_otf ? \@f_mincho_light : \@f_mincho_regular),
- 0, $vi,
- 'uphminl-h', 'UniJIS-UTF16-H',
- 'uphminl-v', 'UniJIS-UTF16-V');
-
- # check that none of the output files are already existing:
- if (-r "ptex-$group_name.map" ||
- -r "ptex-${group_name}-04.map" ||
- -r "uptex-$group_name.map" ||
- -r "uptex-${group_name}-04.map" ||
- -r "otf-$group_name.map" ||
- -r "otf-up-$group_name.map" ||
- -r "$group_name.map" ||
- -r "${group_name}-04.map") {
- print STDERR "Some of the output files already exist in the cwd, aborting!\n";
- exit 1;
- }
-
- # generate the output files
- open (OUT, ">ptex-$group_name.map")
- or die("Cannot open ptex-$group_name.map for writing: $!");
- print OUT "% generated by $prg\n$ptexlines\n";
- close(OUT);
-
- open (OUT, ">ptex-${group_name}-04.map")
- or die("Cannot open ptex-${group_name}-04.map for writing: $!");
- print OUT "% generated by $prg\n$ptex04lines\n";
- close(OUT);
-
- open (OUT, ">uptex-$group_name.map")
- or die("Cannot open uptex-$group_name.map for writing: $!");
- print OUT "% generated by $prg\n$uptexlines\n";
- close(OUT);
-
- open (OUT, ">uptex-${group_name}-04.map")
- or die("Cannot open uptex-${group_name}-04.map for writing: $!");
- print OUT "% generated by $prg\n$uptex04lines\n";
- close(OUT);
-
- open (OUT, ">otf-$group_name.map")
- or die("Cannot open otf-$group_name.map for writing: $!");
- print OUT "% generated by $prg\n$otflines\n";
- close(OUT);
-
- open (OUT, ">otf-up-$group_name.map")
- or die("Cannot open otf-up-$group_name.map for writing: $!");
- print OUT "% generated by $prg\n$otfuplines\n";
- close(OUT);
-
- open (OUT, ">$group_name.map")
- or die("Cannot open $group_name.map for writing: $!");
- print OUT "% generated by $prg\n%\n% maps for family $group_name\n\n";
- print OUT "% ptex\n$ptexlines\n";
- print OUT "% uptex\n$uptexlines\n";
- print OUT "% otf\n$otflines\n";
- print OUT "% otf-uptex\n$otfuplines\n";
- close(OUT);
-
- open (OUT, ">${group_name}-04.map")
- or die("Cannot open ${group_name}-04.map for writing: $!");
- print OUT "% generated by $prg\n%\n% maps for family $group_name ISO2004\n\n";
- print OUT "% ptex\n$ptex04lines\n";
- print OUT "% uptex\n$uptex04lines\n";
- print OUT "% otf\n$otflines\n";
- print OUT "% otf-uptex\n$otfuplines\n";
- close(OUT);
-
- my $cwd = cwd();
-
- $mw->Dialog(-title => "Finished",
- -text => "Fontmaps have been created in the $cwd.\nPlease move them to a place where dvipdfmx can find them.",
- -buttons => [ "Finish" ])->Show();
-
- $mw->destroy;
- exit 0;
-}
-
-
-sub win32 { return ($^O =~ /^MSWin/i ? 1 : 0); }
-
-__END__
-
-=head1 NAME
-
-kanji-fontmap-creator - GUI to create map file collections for Kanji fonts
-
-=head1 SYNOPSIS
-
-kanji-fontmap-creator [I<option>]
-
-=head1 DESCRIPTION
-
-Create fontmap families for updmap's C<kanjiEmbed> setting. For details
-see the man page of B<updmap>(1) and the web page
-L<http://tug.org/texlive/updmap-kanji.html>
-
-=head1 OPTIONS
-
-=over 4
-
-=item B<-version>
-
-Output version information and exit.
-
-=item B<-help>, B<-?>, B<-h>
-
-Display this help and exit.
-
-=item B<-lang> I<llcode>
-
-By default, the GUI tries to deduce your language from the environment
-(on Windows via the registry, on Unix via C<LC_MESSAGES>). If that fails
-you can select a different language by giving this option with a
-language code (based on ISO 639-1). Currently supported is only
-English.
-
-=back
-
-=head1 AUTHORS AND COPYRIGHT
-
-This script and documentation was written by Norbert Preining
-and both are licensed under the GNU General Public License Version 2
-or later.
-
-=cut
-
-
-# vim:set tabstop=2 expandtab: #
diff --git a/Build/source/extra/jfontmaps/script/updmap-otf.sh b/Build/source/extra/jfontmaps/script/updmap-otf.sh
deleted file mode 100755
index 0a188addd58..00000000000
--- a/Build/source/extra/jfontmaps/script/updmap-otf.sh
+++ /dev/null
@@ -1,323 +0,0 @@
-#!/bin/sh
-# updmap-otf: v0.9.1
-#
-# Copyright 2004-2006 by KOBAYASHI R. Taizo
-# Copyright 2011-2012 by PREINING Norbert
-#
-# WARNING: This file is NOT developed any more. TeX Live uses a version
-# rewritten in perl called updmap-setup-kanji, which is located
-# and developed in the same place as this file.
-#
-# For development see
-# http://www.tug.org/svn/texlive/trunk/Build/source/extra/jfontmaps/
-#
-# This file is licensed under GPL version 3 or any later version.
-# For copyright statements see end of file.
-#
-# 27 Jan 2012 by PREINING Norbert <preining@logic.at> v0.9.2
-# support IPA and IPAex fonts
-# improve and extended documentation
-# 11 Nov 2011 by PREINING Norbert <preining@logic.at> v0.9.1
-# use kpsewhich for finding fonts
-# use updmap-sys --setoption kanjiEmbed to select the font family
-# use current names of map files
-# use different font name for Kozuka font, as used in the map file
-# get state from updmap.cfg, not from some state file
-# 27 May 2006 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.9
-# use noEmbed.map instead of noEmbeddedFont.map
-# 10 Jun 2005 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.8
-# modified to use updmap-sys in teTeX3
-# 07 Nov 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.7
-# do not echo back the message of updmap.
-# 17 Oct 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.6
-# set hiragino map file if nofont is installed and arg is auto.
-# 04 Oct 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.5
-# handl standby map files more strictly
-# 20 Sep 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.4
-# hand over current status to map file installer
-# 19 Sep 2004 by KOBAYASHI R. Taizo <tkoba965@mac.com> v0.3
-# handl *-udvips.map in TEXMF/dvipdfm/config/otf/
-# 02 Mar 2004 by KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumei.ac.jp> v0.2
-# added noFont-udvips.map
-# 28 Feb 2004 by KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumei.ac.jp> v0.1
-
-
-###
-### Usage
-###
-
-Usage() {
-cat <<EOF
- updmap-otf Front end to updmap.cfg configuration for Japanese fonts
- as used in the otf package.
-
- This script searches for some of the most common fonts
- for embedding into pdfs by dvipdfmx.
-
- Usage: updmap-otf {<fontname>|auto|nofont|status}
-
- <fontname> set fonts as defined by the map file otf-<fontname>.map
- if it exists.
- auto: sets one of the following supported font families
- automatically:
- hiragino, morisawa, kozuka, ipaex, ipa
- nofont: set no fonts are embedded
- If your system does not have any of the supported font
- families as specified above, this target is selected
- automatically.
- status: get information about current environment and usable font map
-
-EOF
-}
-
-#
-# representatives of support font families
-#
-hiragino_font=HiraMinPro-W3.otf
-morisawa_font=A-OTF-RyuminPro-Light.otf
-kozuka_font=KozMinPro-Regular.otf
-ipa_font=ipam.ttf
-ipaex_font=ipaexm.ttf
-
-
-###
-### Check Installed Font
-###
-
-CheckInstallFont() {
- if kpsewhich $hiragino_font >/dev/null ; then
- HIRAGINO=installed
- else
- HIRAGINO=""
- fi
-
- if kpsewhich $morisawa_font >/dev/null ; then
- MORISAWA=installed
- else
- MORISAWA=""
- fi
-
- if kpsewhich $kozuka_font >/dev/null ; then
- KOZUKA=installed
- else
- KOZUKA=""
- fi
-
- if kpsewhich $ipa_font >/dev/null ; then
- IPA=installed
- else
- IPA=""
- fi
-
- if kpsewhich $ipaex_font >/dev/null ; then
- IPAEX=installed
- else
- IPAEX=""
- fi
-
-
-}
-
-###
-### GetStatus
-###
-
-GetStatus() {
-
-STATUS=$(grep ^kanjiEmbed $(kpsewhich updmap.cfg) | awk '{print$2}')
-
-if kpsewhich otf-$STATUS.map >/dev/null ; then
- echo "CURRENT map file : otf-$STATUS.map"
-else
- echo "WARNING: Currently selected map file cannot be found: otf-$STATUS.map"
-fi
-
-
-for MAPFILE in otf-hiragino.map otf-morisawa.map otf-kozuka.map otf-ipaex.map otf-ipa.map
-do
- if [ "$MAPFILE" = "otf-$STATUS.map" ] ; then
- continue
- fi
- mffound=`kpsewhich $MAPFILE`
- if [ -n "$mffound" ] ; then
- case "$MAPFILE" in
- otf-hiragino.map)
- if [ "$HIRAGINO" = "installed" ]; then
- echo "Standby map file : $MAPFILE"
- fi
- ;;
- otf-morisawa.map)
- if [ "$MORISAWA" = "installed" ]; then
- echo "Standby map file : $MAPFILE"
- fi
- ;;
- otf-kozuka.map)
- if [ "$KOZUKA" = "installed" ]; then
- echo "Standby map file : $MAPFILE"
- fi
- ;;
- otf-ipa.map)
- if [ "$IPA" = "installed" ]; then
- echo "Standby map file : $MAPFILE"
- fi
- ;;
- otf-ipaex.map)
- if [ "$IPAEX" = "installed" ]; then
- echo "Standby map file : $MAPFILE"
- fi
- ;;
- *)
- echo "Should not happen!"
- ;;
- esac
- fi
-done
-
-}
-
-###
-### Setup Map files
-###
-
-SetupMapFile() {
-
-MAPFILE=otf-$1.map
-
-if kpsewhich $MAPFILE >/dev/null ; then
- echo "Setting up ... $MAPFILE"
- updmap-sys -setoption kanjiEmbed $1
- updmap-sys
-else
- echo "NOT EXIST $MAPFILE"
- return 1
-fi
-}
-
-###
-### MAIN
-###
-
-main() {
-
-# mktexlsr 2> /dev/null
-
-CheckInstallFont
-
-if [ $# != 1 ] ; then
- eval Usage ${0##*/}
- return -1
-fi
-
-case "$1" in
- hiragino)
- if [ "$HIRAGINO" = "installed" ]; then
- SetupMapFile hiragino
- else
- main auto
- fi
- ;;
- morisawa)
- if [ "$MORISAWA" = "installed" ]; then
- SetupMapFile morisawa
- else
- main auto
- fi
- ;;
- kozuka)
- if [ "$KOZUKA" = "installed" ]; then
- SetupMapFile kozuka
- else
- main auto
- fi
- ;;
- ipa)
- if [ "$IPA" = "installed" ]; then
- SetupMapFile ipa
- else
- main auto
- fi
- ;;
- ipaex)
- if [ "$IPAEX" = "installed" ]; then
- SetupMapFile ipaex
- else
- main auto
- fi
- ;;
- nofont)
- SetupMapFile noEmbed
- ;;
- auto)
- GetStatus
- # first check if we have a status set and the font is installed
- # in this case don't change anything, just make sure
- if [ "$STATUS" = "morisawa" ] && [ "$MORISAWA" = "installed" ]; then
- SetupMapFile morisawa
- elif [ "$STATUS" = "kozuka" ] && [ "$KOZUKA" = "installed" ]; then
- SetupMapFile kozuka
- elif [ "$STATUS" = "hiragino" ] && [ "$HIRAGINO" = "installed" ]; then
- SetupMapFile hiragino
- elif [ "$STATUS" = "ipaex" ] && [ "$IPAEX" = "installed" ]; then
- SetupMapFile ipaex
- elif [ "$STATUS" = "ipa" ] && [ "$IPA" = "installed" ]; then
- SetupMapFile ipa
- else
- if [ "$STATUS" = "noEmbed" ] || [ "$STATUS" = "" ]; then
- : do nothing here, we dont have to warn
- else
- # some unknown setting is set up currently, overwrite
- # but warn
- echo "Previous setting $STATUS is unknown, replacing it!"
- fi
- # if we are in the noEmbed or nothing set case, but one
- # of the three fonts hiragino/morisawa/kozuka are present
- # then use them
- if [ "$HIRAGINO" = "installed" ]; then
- SetupMapFile hiragino
- elif [ "$MORISAWA" = "installed" ]; then
- SetupMapFile morisawa
- elif [ "$KOZUKA" = "installed" ]; then
- SetupMapFile kozuka
- elif [ "$IPAEX" = "installed" ]; then
- SetupMapFile ipaex
- elif [ "$IPA" = "installed" ]; then
- SetupMapFile ipa
- else
- SetupMapFile noEmbed
- fi
- fi
- ;;
- status)
- GetStatus
- return 0
- ;;
- *)
- SetupMapFile $1
- ;;
-esac
-}
-
-main $@
-
-#
-#
-# Copyright statements:
-#
-# KOBAYASHI Taizo
-# email to preining@logic.at
-# Message-Id: <20120130.162953.59640143170594580.tkoba@cc.kyushu-u.ac.jp>
-# Message-Id: <20120201.105639.625859878546968959.tkoba@cc.kyushu-u.ac.jp>
-# --------------------------------------------------------
-# copyright statement は簡単に以下で結構です。
-#
-# Copyright 2004-2006 by KOBAYASHI Taizo
-#
-# では
-# GPL version 3 or any later version
-#
-# --------------------------------------------------------
-#
-# PREINING Norbert
-# as author and maintainer of the current file
-# Licensed under GPL version 3 or any later version
-#
diff --git a/Build/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh b/Build/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh
deleted file mode 100755
index f84fcd7a671..00000000000
--- a/Build/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-# updmap-setup-kanji-sys:
-# copy of fmtutil-sys by Thomas Esser, public domain.
-
-# wrapper script for updmap-setup-kanji with TEXMFVAR and TEXMFCONFIG set to
-# TEXMFSYSVAR / TEXMFSYSCONFIG
-
-test -f /bin/ksh && test -z "$RUNNING_KSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
- && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; }
-unset RUNNING_KSH
-
-test -f /bin/bsh && test -z "$RUNNING_BSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
- && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
-unset RUNNING_BSH
-
-# hack around a bug in zsh:
-test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-export PATH
-
-v=`kpsewhich -var-value TEXMFSYSVAR`
-c=`kpsewhich -var-value TEXMFSYSCONFIG`
-
-TEXMFVAR="$v"
-TEXMFCONFIG="$c"
-export TEXMFVAR TEXMFCONFIG
-
-exec updmap-setup-kanji ${1+"$@"}
-
diff --git a/Build/source/extra/jfontmaps/script/updmap-setup-kanji.pl b/Build/source/extra/jfontmaps/script/updmap-setup-kanji.pl
deleted file mode 100755
index adf7b922fa0..00000000000
--- a/Build/source/extra/jfontmaps/script/updmap-setup-kanji.pl
+++ /dev/null
@@ -1,291 +0,0 @@
-#!/usr/bin/env perl
-# updmap-setup-kanji: setup Japanese font embedding
-#
-# Copyright 2004-2006 by KOBAYASHI R. Taizo for the shell version (updmap-otf)
-# Copyright 2011-2012 by PREINING Norbert
-#
-# This file is licensed under GPL version 3 or any later version.
-# For copyright statements see end of file.
-#
-# For development see
-# http://www.tug.org/svn/texlive/trunk/Build/source/extra/jfontmaps/
-#
-# For a changelog see
-# http://www.tug.org/svn/texlive/trunk/Build/source/extra/jfontmaps/ChangeLog
-#
-
-$^W = 1;
-use Getopt::Long qw(:config no_autoabbrev ignore_case_always);
-use strict;
-
-my $prg = "updmap-setup-kanji";
-my $vers = "0.9.6";
-my $version = '$Id$';
-
-my $updmap_real = "updmap";
-my $updmap = $updmap_real;
-
-my $dry_run = 0;
-my $opt_help = 0;
-my $opt_jis = 0;
-
-if (! GetOptions(
- "n|dry-run" => \$dry_run,
- "h|help" => \$opt_help,
- "jis2004" => \$opt_jis,
- "version" => sub { print &version(); exit(0); }, ) ) {
- die "Try \"$0 --help\" for more information.\n";
-}
-
-
-sub win32 { return ($^O=~/^MSWin(32|64)$/i); }
-
-my $nul = (win32() ? 'nul' : '/dev/null') ;
-
-
-if ($dry_run) {
- $updmap = "echo updmap";
-}
-
-if ($opt_help) {
- Usage();
- exit 0;
-}
-
-#
-# representatives of support font families
-#
-my %representatives = (
- hiragino => "HiraMinPro-W3.otf",
- morisawa => "A-OTF-RyuminPro-Light.otf",
- kozuka => "KozMinPro-Regular.otf",
- ipa => "ipam.ttf",
- ipaex => "ipaexm.ttf",
-);
-my %available;
-
-
-main(@ARGV);
-
-sub version {
- my $ret = sprintf "%s version %s\n(svn id: %s)\n",
- $prg, $vers, $version;
- return $ret;
-}
-
-sub Usage {
- my $usage = <<"EOF";
- $prg Set up embedding of Japanese fonts via updmap.cfg.
-
- This script searches for some of the most common fonts
- for embedding into pdfs by dvipdfmx.
-
- In addition it allows to set up arbitrary font families
- to be embedded into the generated pdf files, as long
- as at least the map file otf-<family>.map is present.
- Other map files that will be used if available are
-
- ptex-<family>.map
- uptex-<family>.map
- otf-up-<family>.map
-
- Please see the documentation of updmap for details (updmap --help).
-
- Usage: $prg [OPTION] {<fontname>|auto|nofont|status}
-
- <family> embed an arbitrary font family <family>, at least the
- map file otf-<family>.map has to be available.
- auto: embed one of the following supported font families
- automatically:
- hiragino, morisawa, kozuka, ipaex, ipa
- and fall back to not embedding any font if none of them
- is available
- nofont: embed no fonts (and rely on system fonts when displaying pdfs)
- If your system does not have any of the supported font
- families as specified above, this target is selected
- automatically.
- status: get information about current environment and usable font map
-
- Options:
- -n, --dry-run do not actually run updmap
- -h, --help show this message and exit
- -jis2004 use JIS2004 variants for default fonts of (u)pTeX
- --version show version information and exit
-
-EOF
-;
- print $usage;
- exit 0;
-}
-
-
-
-###
-### Check Installed Font
-###
-
-sub CheckInstallFont {
- for my $k (keys %representatives) {
- my $f = `kpsewhich $representatives{$k}`;
- if (! $?) {
- $available{$k} = chomp($f);
- }
- }
-}
-
-###
-### GetStatus
-###
-
-sub check_mapfile {
- my $mapf = shift;
- my $f = `kpsewhich $mapf 2> $nul`;
- my $ret = $?;
- if (wantarray) {
- return (!$ret, $f);
- } else {
- return (!$ret);
- }
-}
-
-sub GetStatus {
- my $val = `$updmap_real --quiet --showoption kanjiEmbed`;
- my $STATUS;
- if ($val =~ m/^kanjiEmbed=([^()\s]*)(\s+\()?/) {
- $STATUS = $1;
- } else {
- printf STDERR "Cannot find status of current kanjiEmbed setting via updmap --showoption!\n";
- exit 1;
- }
-
- if (check_mapfile("otf-$STATUS.map")) {
- print "CURRENT family : $STATUS\n";
- } else {
- print "WARNING: Currently selected map file cannot be found: otf-$STATUS.map\n";
- }
-
- for my $k (sort keys %representatives) {
- my $MAPFILE = "otf-$k.map";
- next if ($MAPFILE eq "otf-$STATUS.map");
- if (check_mapfile($MAPFILE)) {
- if ($available{$k}) {
- print "Standby family : $k\n";
- }
- }
- }
- return $STATUS;
-}
-
-###
-### Setup Map files
-###
-
-sub SetupMapFile {
- my $rep = shift;
- my $MAPFILE = "otf-$rep.map";
- if (check_mapfile($MAPFILE)) {
- print "Setting up ... $MAPFILE\n";
- system("$updmap --quiet --nomkmap --nohash -setoption kanjiEmbed $rep");
- if ($opt_jis) {
- system("$updmap --quiet --nomkmap --nohash -setoption kanjiVariant -04");
- } else {
- system("$updmap --quiet --nomkmap --nohash -setoption kanjiVariant \"\"");
- }
- system("$updmap");
- } else {
- print "NOT EXIST $MAPFILE\n";
- exit 1;
- }
-}
-
-sub SetupReplacement {
- my $rep = shift;
- if (defined($representatives{$rep})) {
- if ($available{$rep}) {
- return SetupMapFile($rep);
- } else {
- printf STDERR "$rep not available, falling back to auto!\n";
- return SetupReplacement("auto");
- }
- } else {
- if ($rep eq "nofont") {
- return SetupMapFile("noEmbed");
- } elsif ($rep eq "auto") {
- my $STATUS = GetStatus();
- # first check if we have a status set and the font is installed
- # in this case don't change anything, just make sure
- if (defined($representatives{$STATUS}) && $available{$STATUS}) {
- return SetupMapFile($STATUS);
- } else {
- if (!($STATUS eq "noEmbed" || $STATUS eq "")) {
- # some unknown setting is set up currently, overwrite, but warn
- print "Previous setting $STATUS is unknown, replacing it!\n"
- }
- # if we are in the noEmbed or nothing set case, but one
- # of the three fonts hiragino/morisawa/kozuka are present
- # then use them
- for my $i (qw/hiragino morisawa kozuka ipaex ipa/) {
- if ($available{$i}) {
- return SetupMapFile($i);
- }
- }
- # still here, no map file found!
- return SetupMapFile("noEmbed");
- }
- } else {
- # anything else is treated as a map file name
- return SetupMapFile($rep);
- }
- }
-}
-
-###
-### MAIN
-###
-
-sub main {
- my ($a, $b) = @_;
-
- CheckInstallFont();
-
- if (!defined($a) || defined($b)) {
- Usage();
- exit 1;
- }
-
- if ($a eq "status") {
- GetStatus();
- exit 0;
- }
-
- return SetupReplacement($a);
-}
-
-#
-#
-# Copyright statements:
-#
-# KOBAYASHI Taizo
-# email to preining@logic.at
-# Message-Id: <20120130.162953.59640143170594580.tkoba@cc.kyushu-u.ac.jp>
-# Message-Id: <20120201.105639.625859878546968959.tkoba@cc.kyushu-u.ac.jp>
-# --------------------------------------------------------
-# copyright statement は簡単に以下で結構です。
-#
-# Copyright 2004-2006 by KOBAYASHI Taizo
-#
-# では
-# GPL version 3 or any later version
-#
-# --------------------------------------------------------
-#
-# PREINING Norbert
-# as author and maintainer of the current file
-# Licensed under GPL version 3 or any later version
-#
-### Local Variables:
-### perl-indent-level: 2
-### tab-width: 2
-### indent-tabs-mode: nil
-### End:
-# vim: set tabstop=2 expandtab autoindent: