From 5e92d64759b12f05da954fb61c72bbd4837c05a2 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 1 Mar 2014 02:36:46 +0000 Subject: jfontmaps (1Mar2014) git-svn-id: svn://tug.org/texlive/trunk@33067 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl | 15 +++++++++------ .../texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl | 4 ++-- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl b/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl index 0b013f74c3e..c255c8c8215 100755 --- a/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl +++ b/Master/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # kanji-config-updmap: setup Japanese font embedding -# Version 20140120.0 +# Version 20140301.0 # # formerly known as updmap-setup-kanji # @@ -22,7 +22,7 @@ use Getopt::Long qw(:config no_autoabbrev ignore_case_always); use strict; my $prg = "kanji-config-updmap"; -my $version = '20140120.0'; +my $version = '20140301.0'; my $updmap_real = "updmap"; my $updmap = $updmap_real; @@ -74,7 +74,8 @@ my %representatives = ( "ipa" => "ipam.ttf", "ipaex" => "ipaexm.ttf", "ms" => "msgothic.ttc", - "yu" => "yumin.ttf", + "yu-win" => "yumin.ttf", + "yu-osx" => "YuMin-Medium.otf", ); my %available; @@ -112,7 +113,8 @@ sub Usage { auto: embed one of the following supported font families automatically: hiragino, hiragino-pron, morisawa, morisawa-pr6n, - kozuka, kozuka-pr6, kozuka-pr6n, ipaex, ipa, ms, yu + kozuka, kozuka-pr6, kozuka-pr6n, ipaex, ipa, ms, + yu-osx, yu-win 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) @@ -240,9 +242,10 @@ sub SetupReplacement { # 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/morisawa-pr6n kozuka-pr6n kozuka-pr6 + for my $i (qw/ + morisawa-pr6n yu-osx kozuka-pr6n kozuka-pr6 hiragino-pron hiragino - morisawa kozuka ipaex ipa ms/) { + morisawa kozuka yu-win ipaex ipa ms/) { if ($available{$i}) { return SetupMapFile($i); } diff --git a/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl b/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl index 90c5c25778c..75e632e3cd8 100755 --- a/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl +++ b/Master/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl @@ -2,7 +2,7 @@ # # kanji-fontmap-creator # (c) 2012-2014 Norbert Preining -# Version: 20140120.0 +# Version: 20140301.0 # Licenced under the GPLv2 or any higher version # # gui to create map files for updmap(-setup-kanji) @@ -41,7 +41,7 @@ my $opt_help = 0; my $opt_version = 0; my $prg = "kanji-fontmap-creator"; -my $version = "20140120.0"; +my $version = "20140301.0"; # # global vars configuring operation -- cgit v1.2.3