diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/makejvf/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/makejvf/Makefile.am | 8 | ||||
-rw-r--r-- | Build/source/texk/makejvf/Makefile.in | 5 | ||||
-rwxr-xr-x | Build/source/texk/makejvf/makejvf.test | 6 | ||||
-rw-r--r-- | Build/source/texk/makejvf/tests/testnewu.tfm | bin | 0 -> 388 bytes | |||
-rw-r--r-- | Build/source/texk/makejvf/tests/testnewu.vf | bin | 0 -> 1590420 bytes | |||
-rw-r--r-- | Build/source/texk/makejvf/tests/uni10.cnf | 61 | ||||
-rw-r--r-- | Build/source/texk/makejvf/tfmread.c | 5 | ||||
-rw-r--r-- | Build/source/texk/makejvf/version.h | 2 |
9 files changed, 83 insertions, 9 deletions
diff --git a/Build/source/texk/makejvf/ChangeLog b/Build/source/texk/makejvf/ChangeLog index 0a214e4bd3a..faf28a220c0 100644 --- a/Build/source/texk/makejvf/ChangeLog +++ b/Build/source/texk/makejvf/ChangeLog @@ -1,3 +1,8 @@ +2018-01-27 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * tfmread.c: Support new JFM spec (3-byte characters in TYPE > 0). + * version.h: Bump version. + 2018-01-14 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * uniblock.c: Update references Unicode blocks Blocks-10.0.0.txt diff --git a/Build/source/texk/makejvf/Makefile.am b/Build/source/texk/makejvf/Makefile.am index ad23d348e11..562eb35a0d1 100644 --- a/Build/source/texk/makejvf/Makefile.am +++ b/Build/source/texk/makejvf/Makefile.am @@ -1,7 +1,7 @@ ## Makefile.am for the TeX Live subdirectory texk/makejvfk/ ## ## Copyright (C) 2010-2015 Peter Breitenlohner <tex-live@tug.org> -## Copyright (C) 2016-2017 Japanese TeX Development Community <issue@texjp.org> +## Copyright (C) 2016-2018 Japanese TeX Development Community <issue@texjp.org> ## You may freely use, modify and/or distribute this file. ## AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) @@ -36,7 +36,9 @@ EXTRA_DIST += \ tests/rml.tfm \ tests/rmlv.tfm \ tests/tmin10.tfm \ - tests/tmin10.vf + tests/tmin10.vf \ + tests/testnewu.tfm \ + tests/testnewu.vf -DISTCLEANFILES = min10.vf rml.tfm rmlv.tfm tmin10.vf +DISTCLEANFILES = min10.vf rml.tfm rmlv.tfm tmin10.vf testnewu.vf urml.tfm diff --git a/Build/source/texk/makejvf/Makefile.in b/Build/source/texk/makejvf/Makefile.in index bcb78772dea..0696e4ef53a 100644 --- a/Build/source/texk/makejvf/Makefile.in +++ b/Build/source/texk/makejvf/Makefile.in @@ -555,11 +555,12 @@ makejvf_SOURCES = \ LDADD = $(PTEXENC_LIBS) $(KPATHSEA_LIBS) EXTRA_DIST = COPYRIGHT COPYRIGHT.jis Changes.txt README.txt \ tests/min10.tfm tests/min10.vf tests/rml.tfm tests/rmlv.tfm \ - tests/tmin10.tfm tests/tmin10.vf + tests/tmin10.tfm tests/tmin10.vf tests/testnewu.tfm \ + tests/testnewu.vf dist_check_SCRIPTS = makejvf.test TESTS = makejvf.test dist_man1_MANS = makejvf.1 -DISTCLEANFILES = min10.vf rml.tfm rmlv.tfm tmin10.vf +DISTCLEANFILES = min10.vf rml.tfm rmlv.tfm tmin10.vf testnewu.vf urml.tfm all: c-auto.h $(MAKE) $(AM_MAKEFLAGS) all-am diff --git a/Build/source/texk/makejvf/makejvf.test b/Build/source/texk/makejvf/makejvf.test index a5f6f588724..473045be9f0 100755 --- a/Build/source/texk/makejvf/makejvf.test +++ b/Build/source/texk/makejvf/makejvf.test @@ -1,6 +1,6 @@ #! /bin/sh -vx # $Id$ -# Copyright 2017 Karl Berry <tex-live@tug.org> +# Copyright 2017-2018 Karl Berry <tex-live@tug.org> # Copyright 2010-2013 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. @@ -12,6 +12,10 @@ cmp $srcdir/tests/tmin10.vf tmin10.vf && \ cmp $srcdir/tests/rmlv.tfm rmlv.tfm || exit 1 +./makejvf -e -i -u custom -t $srcdir/tests/uni10.cnf -m $srcdir/tests/testnewu urml && \ + cmp $srcdir/tests/testnewu.vf testnewu.vf && \ + cmp $srcdir/tests/rml.tfm urml.tfm || exit 1 + TEXMFCNF=$srcdir/../kpathsea \ ./makejvf -k0 -a abc && exit 1 diff --git a/Build/source/texk/makejvf/tests/testnewu.tfm b/Build/source/texk/makejvf/tests/testnewu.tfm Binary files differnew file mode 100644 index 00000000000..6860278f2ca --- /dev/null +++ b/Build/source/texk/makejvf/tests/testnewu.tfm diff --git a/Build/source/texk/makejvf/tests/testnewu.vf b/Build/source/texk/makejvf/tests/testnewu.vf Binary files differnew file mode 100644 index 00000000000..43372ed3a11 --- /dev/null +++ b/Build/source/texk/makejvf/tests/testnewu.vf diff --git a/Build/source/texk/makejvf/tests/uni10.cnf b/Build/source/texk/makejvf/tests/uni10.cnf new file mode 100644 index 00000000000..88165463b07 --- /dev/null +++ b/Build/source/texk/makejvf/tests/uni10.cnf @@ -0,0 +1,61 @@ +% makejvf settings for upjpn* in uptex-fonts +% based on Blocks-10.0.0.txt (Date: 2017-04-12, 17:30:00 GMT [KW]) +% and Adobe-Japan1-6/cid2code.txt (Version 10/24/2017) +% +% Following code points are omitted: +% U+0FD6, U+2E40, U+A7B5, U+AB53 + +CHARSET 0000..007F,% Basic Latin ++ 0080..00FF,% Latin-1 Supplement ++ 0100..017F,% Latin Extended-A ++ 0180..024F,% Latin Extended-B ++ 0250..02AF,% IPA Extensions ++ 02B0..02FF,% Spacing Modifier Letters ++ 0300..036F,% Combining Diacritical Marks ++ 0370..03FF,% Greek and Coptic ++ 0400..04FF,% Cyrillic ++ 1E00..1EFF,% Latin Extended Additional ++ 1F00..1FFF,% Greek Extended ++ 2000..206F,% General Punctuation ++ 2070..209F,% Superscripts and Subscripts ++ 20A0..20CF,% Currency Symbols ++ 20D0..20FF,% Combining Diacritical Marks for Symbols ++ 2100..214F,% Letterlike Symbols ++ 2150..218F,% Number Forms ++ 2190..21FF,% Arrows ++ 2200..22FF,% Mathematical Operators ++ 2300..23FF,% Miscellaneous Technical ++ 2400..243F,% Control Pictures ++ 2460..24FF,% Enclosed Alphanumerics ++ 2500..257F,% Box Drawing ++ 2580..259F,% Block Elements ++ 25A0..25FF,% Geometric Shapes ++ 2600..26FF,% Miscellaneous Symbols ++ 2700..27BF,% Dingbats ++ 2900..297F,% Supplemental Arrows-B ++ 2980..29FF,% Miscellaneous Mathematical Symbols-B ++ 2B00..2BFF,% Miscellaneous Symbols and Arrows ++ 2E80..2EFF,% CJK Radicals Supplement ++ 2F00..2FDF,% Kangxi Radicals ++ 3000..303F,% CJK Symbols and Punctuation ++ 3040..309F,% Hiragana ++ 30A0..30FF,% Katakana ++ 3190..319F,% Kanbun ++ 31F0..31FF,% Katakana Phonetic Extensions ++ 3200..32FF,% Enclosed CJK Letters and Months ++ 3300..33FF,% CJK Compatibility ++ 3400..4DBF,% CJK Unified Ideographs Extension A ++ 4E00..9FFF,% CJK Unified Ideographs ++ E000..F8FF,% Private Use Area ++ F900..FAFF,% CJK Compatibility Ideographs ++ FB00..FB4F,% Alphabetic Presentation Forms ++ FE10..FE1F,% Vertical Forms ++ FE30..FE4F,% CJK Compatibility Forms ++ FF00..FFEF,% Halfwidth and Fullwidth Forms ++ 1F100..1F1FF,% Enclosed Alphanumeric Supplement ++ 1F200..1F2FF,% Enclosed Ideographic Supplement ++ 20000..2A6DF,% CJK Unified Ideographs Extension B ++ 2A700..2B73F,% CJK Unified Ideographs Extension C ++ 2B740..2B81F,% CJK Unified Ideographs Extension D ++ 2CEB0..2EBEF,% CJK Unified Ideographs Extension F ++ 2F800..2FA1F,% CJK Compatibility Ideographs Supplement diff --git a/Build/source/texk/makejvf/tfmread.c b/Build/source/texk/makejvf/tfmread.c index c9acfdebd68..5459b2c8aca 100644 --- a/Build/source/texk/makejvf/tfmread.c +++ b/Build/source/texk/makejvf/tfmread.c @@ -14,8 +14,9 @@ int jfmread(int kcode) int i,ctype=0,w_ind,w,ll=0,rr=0,tag,gk_ind,gk2_ind; for (i = 0 ; i < nt ; i++) { - if (upair(&char_type[i*4]) == kcode) { - ctype = upair(&char_type[i*4+2]); + /* support new JFM spec by texjporg */ + if (upair(&char_type[i*4])+char_type[i*4+2]*65536 == kcode) { + ctype = char_type[i*4+3]; break; } } diff --git a/Build/source/texk/makejvf/version.h b/Build/source/texk/makejvf/version.h index bad1223fc0e..70f33b6cccb 100644 --- a/Build/source/texk/makejvf/version.h +++ b/Build/source/texk/makejvf/version.h @@ -1,2 +1,2 @@ -#define VERSION "20180114" +#define VERSION "20180127" #define BUG_ADDRESS "issue@texjp.org" |