From 2819801d7589a3d26936698032383d93ea9bc2db Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 2 Oct 2015 22:13:29 +0000 Subject: cjk-gs-integrate (2oct15) git-svn-id: svn://tug.org/texlive/trunk@38525 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/fonts/cjk-gs-integrate/ChangeLog | 72 ++++++++- .../texmf-dist/doc/fonts/cjk-gs-integrate/README | 172 +++++++++++++++++++++ .../doc/fonts/cjk-gs-integrate/README.md | 170 -------------------- .../doc/fonts/cjk-gs-integrate/tools/release.sh | 2 + 4 files changed, 244 insertions(+), 172 deletions(-) create mode 100644 Master/texmf-dist/doc/fonts/cjk-gs-integrate/README delete mode 100644 Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md (limited to 'Master/texmf-dist/doc/fonts/cjk-gs-integrate') diff --git a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog index 8ec8aca5181..c973e827363 100644 --- a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog +++ b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/ChangeLog @@ -1,10 +1,78 @@ +2015-10-02 Norbert Preining + + * Release 20151002.0 (HEAD -> master) [0cab259] + +2015-10-02 Norbert Preining + + * update documentation [403383d] + +2015-09-28 Norbert Preining + + * update README.md for current status (origin/master, origin/HEAD) [789f124] + +2015-09-28 Norbert Preining + + * add --remove option [fea9b13] + +2015-09-28 Norbert Preining + + * use only --link-texmf with optional argument [d2ff6f8] + +2015-09-25 Norbert Preining + + * add HIraginoSans-W2 [10ca035] + +2015-09-24 Norbert Preining + + * use ttfname also for CIDFSubst link and cidfmap entry, add texmfout option [6acc38a] + +2015-09-24 Norbert Preining + + * ttf link name support [970dcf0] + +2015-09-24 Norbert Preining + + * auto-determine type of fontfile, and make type file specific [f8b7032] + +2015-09-22 Norbert Preining + + * Merge pull request #4 from doraTeX/master [fed6b30] + +2015-09-22 doraTeX + + * Update font definitions for the latest El Capitan [86d28d1] + +2015-07-24 Norbert Preining + + * Merge pull request #1 from munepi/master [98e37ef] + +2015-07-24 Munehiro Yamamoto + + * cjk-gs-integrate.pl (encode_list): added 2004-{H,V} for Japan [51f4ffd] + +2015-07-24 Norbert Preining + + * add ISX 10.11 El Capitan fonts [dbe04b4] + +2015-05-07 Norbert Preining + + * fix line endings [81f0a82] + +2015-05-07 Norbert Preining + + * remove x bit from prn-variants.tex [202fc80] + +2015-05-07 Norbert Preining + + * rename README.md to README on release [25dcf6d] + 2015-05-06 Norbert Preining - * Release 20150506.1 (HEAD, master) [daf2e89] + * Release 20150506.1 (tag: 20150506.1) [daf2e89] 2015-05-06 Norbert Preining - * reactivate aliases for MSung-Light and STFangsong-Light (origin/master, origin/HEAD) [bf0d437] + * reactivate aliases for MSung-Light and STFangsong-Light [bf0d437] 2015-05-06 Norbert Preining diff --git a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README new file mode 100644 index 00000000000..8742f2d890f --- /dev/null +++ b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README @@ -0,0 +1,172 @@ +Configuring GhostScript for CJK CID/TTF fonts +============================================= + +This script searches a list of directories for CJK fonts, and makes +them available to an installed GhostScript. In the simplest case with +sufficient privileges, a run without arguments should effect in a +complete setup of GhostScript. + +Usage +----- + +````` +[perl] cjk-gs-integrate[.pl] [OPTIONS] +````` + +#### Options #### + +````` + -n, --dry-run do not actually output anything + --remove try to remove instead of create + -f, --fontdef FILE specify alternate set of font definitions, if not + given, the built-in set is used + -o, --output DIR specifies the base output dir, if not provided, + the Resource directory of an installed GhostScript + is searched and used. + -a, --alias LL=RR defines an alias, or overrides a given alias; + illegal if LL is provided by a real font, or + RR is neither available as real font or alias; + can be given multiple times + --filelist FILE read list of available font files from FILE + instead of searching with kpathsea + --link-texmf [DIR] link fonts into + DIR/fonts/opentype/cjk-gs-integrate + and + DIR/fonts/truetype/cjk-gs-integrate + where DIR defaults to TEXMFLOCAL + --machine-readable output of --list-aliases is machine readable + --force do not bail out if linked fonts already exist + -q, --quiet be less verbose + -d, --debug output debug information, can be given multiple times + -v, --version outputs only the version information + -h, --help this help +````` + +#### Command like options #### + +````` + --only-aliases do only regenerate the cidfmap.alias file instead of all + --list-aliases lists the available aliases and their options, with the + selected option on top + --list-all-aliases list all possible aliases without searching for actually + present files + --list-fonts lists the fonts found on the system + --info combines the above two information +````` + +Operation +--------- + +For each found TrueType (TTF) font it creates a cidfmap entry in + + /Init/cidfmap.local + +and links the font to + + /CIDFSubst/ + +For each CID font it creates a snippet in + + /Font/ + +and links the font to + + /CIDFont/ + +The `` dir is either given by `-o`/`--output`, or otherwise searched +from an installed GhostScript (binary name is assumed to be 'gs'). + +Aliases are added to + + /Init/cidfmap.aliases + +Finally, it tries to add runlib calls to + + /Init/cidfmap + +to load the cidfmap.local and cidfmap.aliases. + +How and which directories are searched +-------------------------------------- + +Search is done using the kpathsea library, in particular using kpsewhich +program. By default the following directories are searched: + - all TEXMF trees + - `/Library/Fonts`, `/Library/Fonts/Microsoft`, `/System/Library/Fonts`, + `/Network/Library/Fonts`, and `~/Library/Fonts` (all if available) + - `c:/windows/fonts` (on Windows) + - the directories in `OSFONTDIR` environment variable + +In case you want to add some directories to the search path, adapt the +`OSFONTDIR` environment variable accordingly: Example: + +````` + OSFONTDIR="/usr/local/share/fonts/truetype//:/usr/local/share/fonts/opentype//" $prg +````` + +will result in fonts found in the above two given directories to be +searched in addition. + +Output files +------------ + +If no output option is given, the program searches for a GhostScript +interpreter 'gs' and determines its Resource directory. This might +fail, in which case one need to pass the output directory manually. + +Since the program adds files and link to this directory, sufficient +permissions are necessary. + +Aliases +------- + +Aliases are managed via the Provides values in the font database. +At the moment entries for the basic font names for CJK fonts +are added: + +Japanese: + + Ryumin-Light GothicBBB-Medium FutoMinA101-Bold FutoGoB101-Bold Jun101-Light + +Korean: + + HYGoThic-Medium HYSMyeongJo-Medium + +Simplified Chinese: + + STSong-Light STHeiti-Regular STHeiti-Light STKaiti-Regular + +Traditional Chinese: + + MSung-Light MHei-Medium MKai-Medium + +In addition, we also include provide entries for the OTF Morisawa names: + RyuminPro-Light GothicBBBPro-Medium FutoMinA101Pro-Bold + FutoGoB101Pro-Bold Jun101Pro-Light + +The order is determined by the Provides setting in the font database, +and for the Japanese fonts it is currently: + Morisawa Pr6, Morisawa, Hiragino ProN, Hiragino, + Yu OSX, Yu Win, Kozuka ProN, Kozuka, IPAex, IPA + +That is, the first font found in this order will be used to provide the +alias if necessary. + +#### Overriding aliases #### + +Using the command line option `--alias LL=RR` one can add arbitrary aliases, +or override ones selected by the program. For this to work the following +requirements of `LL` and `RR` must be fulfilled: + * `LL` is not provided by a real font + * `RR` is available either as real font, or as alias (indirect alias) + +Authors, Contributors, and Copyright +------------------------------------ + +The script and its documentation was written by Norbert Preining, based +on research and work by Yusuke Kuroki, Bruno Voisin, Munehiro Yamamoto +and the TeX Q&A wiki page. + +The script is licensed under GNU General Public License Version 3 or later. +The contained font data is not copyrightable. + diff --git a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md deleted file mode 100644 index b460467c14a..00000000000 --- a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/README.md +++ /dev/null @@ -1,170 +0,0 @@ -Configuring GhostScript for CJK CID/TTF fonts -============================================= - -This script searches a list of directories for CJK fonts, and makes -them available to an installed GhostScript. In the simplest case with -sufficient privileges, a run without arguments should effect in a -complete setup of GhostScript. - -Usage ------ - -````` -[perl] cjk-gs-integrate[.pl] [OPTIONS] -````` - -#### Options #### - -````` - -n, --dry-run do not actually output anything - -f, --fontdef FILE specify alternate set of font definitions, if not - given, the built-in set is used - -o, --output DIR specifies the base output dir, if not provided, - the Resource directory of an install GhostScript - is searched and used. - -a, --alias LL=RR defines an alias, or overrides a given alias - illegal if LL is provided by a real font, or - RR is neither available as real font or alias - can be given multiple times - --filelist FILE read list of available font files from FILE - instead of searching with kpathsea - --link-texmflocal link fonts into - TEXMFLOCAL/fonts/opentype/cjk-gs-integrate - and - TEXMFLOCAL/fonts/truetype/cjk-gs-integrate - --machine-readable output of --list-aliases is machine readable - --force do not bail out if linked fonts already exist - -q, --quiet be less verbose - -d, --debug output debug information, can be given multiple times - -v, --version outputs only the version information - -h, --help this help -````` - -#### Command like options #### - -````` - --only-aliases do only regenerate the cidfmap.alias file instead of all - --list-aliases lists the available aliases and their options, with the - selected option on top - --list-all-aliases list all possible aliases without searching for actually - present files - --list-fonts lists the fonts found on the system - --info combines the above two information -````` - -Operation ---------- - -For each found TrueType (TTF) font it creates a cidfmap entry in - - /Init/cidfmap.local - -and links the font to - - /CIDFSubst/ - -For each CID font it creates a snippet in - - /Font/ - -and links the font to - - /CIDFont/ - -The `` dir is either given by `-o`/`--output`, or otherwise searched -from an installed GhostScript (binary name is assumed to be 'gs'). - -Aliases are added to - - /Init/cidfmap.aliases - -Finally, it tries to add runlib calls to - - /Init/cidfmap - -to load the cidfmap.local and cidfmap.aliases. - -How and which directories are searched --------------------------------------- - -Search is done using the kpathsea library, in particular using kpsewhich -program. By default the following directories are searched: - - all TEXMF trees - - `/Library/Fonts`, `/Library/Fonts/Microsoft`, `/System/Library/Fonts`, - `/Network/Library/Fonts`, and `~/Library/Fonts` (all if available) - - `c:/windows/fonts` (on Windows) - - the directories in `OSFONTDIR` environment variable - -In case you want to add some directories to the search path, adapt the -`OSFONTDIR` environment variable accordingly: Example: - -````` - OSFONTDIR="/usr/local/share/fonts/truetype//:/usr/local/share/fonts/opentype//" $prg -````` - -will result in fonts found in the above two given directories to be -searched in addition. - -Output files ------------- - -If no output option is given, the program searches for a GhostScript -interpreter 'gs' and determines its Resource directory. This might -fail, in which case one need to pass the output directory manually. - -Since the program adds files and link to this directory, sufficient -permissions are necessary. - -Aliases -------- - -Aliases are managed via the Provides values in the font database. -At the moment entries for the basic font names for CJK fonts -are added: - -Japanese: - - Ryumin-Light GothicBBB-Medium FutoMinA101-Bold FutoGoB101-Bold Jun101-Light - -Korean: - - HYGoThic-Medium HYSMyeongJo-Medium - -Simplified Chinese: - - STSong-Light STHeiti-Regular STHeiti-Light STKaiti-Regular - -Traditional Chinese: - - MSung-Light MHei-Medium MKai-Medium - -In addition, we also includes provide entries for the OTF Morisawa names: - RyuminPro-Light GothicBBBPro-Medium FutoMinA101Pro-Bold - FutoGoB101Pro-Bold Jun101Pro-Light - -The order is determined by the Provides setting in the font database, -and for the Japanese fonts it is currently: - Morisawa Pr6, Morisawa, Hiragino ProN, Hiragino, - Yu OSX, Yu Win, Kozuka ProN, Kozuka, IPAex, IPA - -That is, the first font found in this order will be used to provide the -alias if necessary. - -#### Overriding aliases #### - -Using the command line option `--alias LL=RR` one can add arbitrary aliases, -or override ones selected by the program. For this to work the following -requirements of `LL` and `RR` must be fulfilled: - * `LL` is not provided by a real font - * `RR` is available either as real font, or as alias (indirect alias) - -Authors, Contributors, and Copyright ------------------------------------- - -The script and its documentation was written by Norbert Preining, based -on research and work by Yusuke Kuroki, Bruno Voisin, Munehiro Yamamoto -and the TeX Q&A wiki page. - -The script is licensed under GNU General Public License Version 3 or later. -The contained font data is not copyrightable. - diff --git a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tools/release.sh b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tools/release.sh index 33c61cbdf5c..4ca8afc93c3 100755 --- a/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tools/release.sh +++ b/Master/texmf-dist/doc/fonts/cjk-gs-integrate/tools/release.sh @@ -36,6 +36,8 @@ for i in cjk-gs-integrate.pl ; do perl -pi.bak -e "s/\\\$VER\\\$/$VER/g" $i rm -f ${i}.bak done +# rename README.md to README for CTAN +mv README.md README cd .. diff -urN $PROJECT-$VER-orig $PROJECT-$VER tar zcf $DIR/$PROJECT-$VER.tar.gz $PROJECT-$VER -- cgit v1.2.3