Skip to content

Instantly share code, notes, and snippets.

@cocoatomo
Last active June 9, 2016 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cocoatomo/3b6cfe9ea0f5557eb45b9b9a5315debc to your computer and use it in GitHub Desktop.
Save cocoatomo/3b6cfe9ea0f5557eb45b9b9a5315debc to your computer and use it in GitHub Desktop.
diff -uwr /usr/local/texlive/2016/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl /usr/local/texlive/2014/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl
--- /usr/local/texlive/2016/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl 2015-10-03 07:14:02.000000000 +0900
+++ /usr/local/texlive/2014/texmf-dist/scripts/jfontmaps/kanji-config-updmap.pl 2014-03-01 11:36:46.000000000 +0900
@@ -1,19 +1,20 @@
#!/usr/bin/env perl
# kanji-config-updmap: setup Japanese font embedding
-# Version 20151002.0
+# Version 20140301.0
#
# formerly known as updmap-setup-kanji
#
# Copyright 2004-2006 by KOBAYASHI R. Taizo for the shell version (updmap-otf)
-# Copyright 2011-2015 by PREINING Norbert
+# Copyright 2011-2014 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
-# https://github.com/norbusan/jfontmaps
+# https://git.gitorious.org/tlptexlive/jfontmaps.git
#
-# For a changelog see the git log
+# For a changelog see
+# https://gitorious.org/tlptexlive/jfontmaps/blobs/master/ChangeLog
#
$^W = 1;
@@ -21,7 +22,7 @@
use strict;
my $prg = "kanji-config-updmap";
-my $version = '20151002.0';
+my $version = '20140301.0';
my $updmap_real = "updmap";
my $updmap = $updmap_real;
@@ -65,8 +66,6 @@
my %representatives = (
"hiragino" => "HiraMinPro-W3.otf",
"hiragino-pron" => "HiraMinProN-W3.otf",
- "hiragino-elcapitan" => "HiraginoSerif-W3.ttc",
- "hiragino-elcapitan-pron" => "HiraginoSerif-W3.ttc",
"morisawa" => "A-OTF-RyuminPro-Light.otf",
"morisawa-pr6n" => "A-OTF-RyuminPr6N-Light.otf",
"kozuka" => "KozMinPro-Regular.otf",
@@ -113,10 +112,9 @@
map file otf-<family>.map has to be available.
auto: embed one of the following supported font families
automatically:
- hiragino, hiragino-pron, hiragino-elcapitan,
- hiragino-elcapitan-pron, morisawa, morisawa-pr6n,
+ hiragino, hiragino-pron, morisawa, morisawa-pr6n,
kozuka, kozuka-pr6, kozuka-pr6n, ipaex, ipa, ms,
- yu-osx, yu-win, yu-win10
+ 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)
@@ -246,9 +244,8 @@
# then use them
for my $i (qw/
morisawa-pr6n yu-osx kozuka-pr6n kozuka-pr6
- hiragino-pron hiragino-elcapitan-pron hiragino
- hiragino-elcapitan
- morisawa kozuka yu-win yu-win10 ipaex ipa ms/) {
+ hiragino-pron hiragino
+ morisawa kozuka yu-win ipaex ipa ms/) {
if ($available{$i}) {
return SetupMapFile($i);
}
diff -uwr /usr/local/texlive/2016/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl /usr/local/texlive/2014/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl
--- /usr/local/texlive/2016/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl 2015-10-03 07:14:02.000000000 +0900
+++ /usr/local/texlive/2014/texmf-dist/scripts/jfontmaps/kanji-fontmap-creator.pl 2014-03-01 11:36:46.000000000 +0900
@@ -2,7 +2,7 @@
#
# kanji-fontmap-creator
# (c) 2012-2014 Norbert Preining
-# Version: 20151002.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_version = 0;
my $prg = "kanji-fontmap-creator";
-my $version = "20151002.0";
+my $version = "20140301.0";
#
# global vars configuring operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment