diff options
author | Norbert Preining <norbert@preining.info> | 2022-03-06 03:01:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-03-06 03:01:07 +0000 |
commit | a2c331d17828388705046ea495e5fe5135bbcc83 (patch) | |
tree | bc7f9b50750ad2331f4495f511f6e71ac13bf680 /language | |
parent | 19a90b19f6ec33aec1291be08fecfece45735a22 (diff) |
CTAN sync 202203060301
Diffstat (limited to 'language')
18 files changed, 300 insertions, 9 deletions
diff --git a/language/japanese/japanese-otf/COPYRIGHT b/language/japanese/japanese-otf/COPYRIGHT index 627568c12c..c4c8fb7048 100644 --- a/language/japanese/japanese-otf/COPYRIGHT +++ b/language/japanese/japanese-otf/COPYRIGHT @@ -1,5 +1,5 @@ Copyright (C) 2003--2019 SAITO Shuzaburo and INOUE Koichi -Copyright (C) 2007--2020 TANAKA Takuji +Copyright (C) 2007--2022 TANAKA Takuji Copyright (C) 2017--2022 Japanese TeX Development Community All rights reserved. diff --git a/language/japanese/japanese-otf/ChangeLog.md b/language/japanese/japanese-otf/ChangeLog.md new file mode 100644 index 0000000000..f47f957646 --- /dev/null +++ b/language/japanese/japanese-otf/ChangeLog.md @@ -0,0 +1,117 @@ +# 2022-03-05 japanese-otf + +japanese-otf: +* set FONTDIR RT in OFM for pTeX vertical writing. (TeX JP org extension) + They work with dvips 2022.1 (r62223 or later). + https://github.com/texjporg/japanese-otf-mirror/issues/15 + https://github.com/texjporg/tex-jp-build/issues/135 + +japanese-otf-uptex: +* update samples. + + + +# 2022-02-17 japanese-otf(-uptex) + +Based on otfbeta v1.7b8 (2019/04/01) and japanese-otf-uptex Ver.0.27. +The contents of japanese-otf-uptex for CTAN have been merged into the package of japanese-otf for CTAN (Japanese TeX Development Community edition). + +japanese-otf: +* supported halfwidth Katakana in \UTF{} (TeX JP org extension) +* shrunk data size of virtual fonts (TeX JP org extension) + +japanese-otf-uptex: +* introduced multi-weight virtual fonts for Chinese/Korean plain texts. + + + +# 2020-11-14 japanese-otf(-uptex) + +Based on otfbeta v1.7b8 (2019/04/01) and japanese-otf-uptex Ver.0.26. + +japanese-otf: +* Fix typo in script/mkaltutfvf.pl + +japanese-otf-uptex: +* Introduce Unicode base multi-weight virtual fonts for \UTF{}, \UTFC{}, \UTFT{}, \UTFK{}. +* Shrink file size of some virtual fonts for main text. + + + +# 2020-02-29 japanese-otf-uptex + +Based on japanese-otf-uptex Ver.0.25. + +japanese-otf-uptex: +* Update references: Adobe-Japan1-7 cid2code.txt (Version 07/30/2019). + + + +# 2019-09-07 japanese-otf-uptex + +Based on japanese-otf-uptex Ver.0.24. + +japanese-otf-uptex: +* Make half width U+00B7 in some VFs. + + + +# 2019-04-02 japanese-otf(-uptex) + +Based on otfbeta v1.7b8 (2019/04/01) and japanese-otf-uptex Ver.0.23. + +japanese-otf: +* ajmacros.sty: Support Japanese new era "Reiwa" in \ajLig{}. +* mkcidvf.pl, mkmlcidvf: Make font head Adobe-Japan1-7, Adobe-GB1-5, Adobe-CNS1-7. +* mkcidofm.pl: Output CID code up to 23059 in OFM. + +japanese-otf-uptex: +* otf.sty: Sync with japanese-otf. +* script/*: Add more proportional kana support ("Koto", "Yori") for Hiragino fonts. +* Update reference Unicode Blocks-12.0.0.txt. + + + +# 2018-12-08 japanese-otf-uptex + +Based on japanese-otf-uptex Ver.0.22. + +japanese-otf-uptex: +* Bug fix on U+3090..3093. + + + +# 2018-05-13 japanese-otf-uptex + +Based on otfbeta v1.7b7 (2018/02/01) and otfbeta-uptex Ver.0.21. + +japanese-otf-uptex: +* Add double exclamation marks etc. (U+203C, U+2047, U+2048, U+2049) to char_type 6. +* Add -hk option to enable halfwidth katakana letters in hiraprop. + + + +# 2018-04-07 japanese-otf-uptex + +Based on otfbeta v1.7b7 (2018/02/01) and otfbeta-uptex Ver.0.20. + +japanese-otf-uptex: +* Add parentheses e.g. guillemets to char_type 1 & 2 (sync with uptex-fonts). + + + +# 2018-02-11 japanese-otf(-uptex) + +Based on otfbeta v1.7b7 (2018/02/01) and otfbeta-uptex Ver.0.19. + +japanese-otf: +* otf.sty: Scale Japanese fonts using \Cjascale if defined. Support jsreport.cls in jsclasses. +* ajmacros.sty: Add \NeedsTeXFormat{pLaTeX2e} to avoid infinite loop. + +japanese-otf-uptex: +* otf.sty: Sync with japanese-otf. +* otf.sty: Set default latin font T1 for upLaTeX. +* otf.sty: add {,u}pLaTeX engine check and a package option "autodetect-engine". +* Add U+00B7 to char_type 3 (sync with uptex-fonts). +* Update reference Unicode Blocks-10.0.0.txt. + diff --git a/language/japanese/japanese-otf/README b/language/japanese/japanese-otf/README index d75129e47f..be383b2747 100644 --- a/language/japanese/japanese-otf/README +++ b/language/japanese/japanese-otf/README @@ -29,4 +29,4 @@ The contents of this package is under the license given in the COPYRIGHT file, which is the 3-clause BSD license. Japanese TeX Development Community -20220217.0 +20220305.0 diff --git a/language/japanese/japanese-otf/doc/test/uplatex/Makefile b/language/japanese/japanese-otf/doc/test/uplatex/Makefile index 227e3dcd1d..bb5ba6d3f6 100644 --- a/language/japanese/japanese-otf/doc/test/uplatex/Makefile +++ b/language/japanese/japanese-otf/doc/test/uplatex/Makefile @@ -6,7 +6,7 @@ DVIPS = dvips DVIPDFMX = dvipdfmx -v PDVITYPE = pdvitype -all: otf sp art brsg jis04 scale prop punct exclam mltwght +all: otf sp art brsg jis04 scale prop punct exclam dir otf: uplatex-otf platex-otf sp: uplatex-sp platex-sp @@ -17,6 +17,7 @@ scale: uplatex-scale platex-scale prop: uplatex-prop platex-prop exclam: uplatex-exclam platex-exclam utfmacro: uplatex-utfmacro platex-utfmacro +dir: uplatex-dir platex-dir uplatex-otf: for opt in default deluxe expert bold noreplace; do \ @@ -227,5 +228,21 @@ mltwght: $(UPLATEX) cjk-pxbabel-v.tex ; \ $(DVIPDFMX) -l -f utfmacro-haranoaji.map cjk-pxbabel-v.dvi +uplatex-dir: + for opt in default expert noreplace; do \ + $(UPLATEX) "\def\option{$$opt}\def\class{ujarticle}\input" direction-utf8.tex ; \ + mv direction-utf8.dvi direction-$$opt-uplatex.dvi ; \ + $(DVIPDFMX) -f utfmacro-haranoaji.map direction-$$opt-uplatex.dvi ; \ + $(DVIPS) -u jotf-psfonts.map direction-$$opt-uplatex.dvi ; \ + done + +platex-dir: + for opt in default expert noreplace; do \ + $(PLATEX) "\def\option{$$opt}\def\class{jarticle}\input" direction-utf8.tex ; \ + mv direction-utf8.dvi direction-$$opt-platex.dvi ; \ + $(DVIPDFMX) -f utfmacro-haranoaji.map direction-$$opt-platex.dvi ; \ + $(DVIPS) -u jotf-psfonts.map direction-$$opt-platex.dvi ; \ + done + clean: rm -f *.aux *.log *.dvi *.pdf diff --git a/language/japanese/japanese-otf/doc/test/uplatex/direction-utf8.tex b/language/japanese/japanese-otf/doc/test/uplatex/direction-utf8.tex new file mode 100644 index 0000000000..9cadc7c5a6 --- /dev/null +++ b/language/japanese/japanese-otf/doc/test/uplatex/direction-utf8.tex @@ -0,0 +1,110 @@ +% -*- coding: utf-8 -*- +\newif\ifuptexmode\uptexmodefalse +\ifnum\jis"2121="3000 \uptexmodetrue\fi + +\makeatletter + +\def\@opt@{multi} +\def\@default{default} +\def\@jarticle{jarticle} +\def\@tarticle{tarticle} +\def\@utarticle{utarticle} + +\ifx\option\@undefined + \def\option{default} +\fi +\ifx\option\@default +\else + \edef\@opt@{\option,\@opt@} +\fi + +\ifx\class\@undefined + \ifuptexmode + \def\class{ujarticle} + \else + \def\class{jarticle} + \fi +\fi + +\ifuptexmode + \edef\@opt@{uplatex,\@opt@} +\fi +\documentclass[a4paper,titlepage,draft,twocolumn]{\class} +%\documentclass[a4paper,titlepage, draft,landscape]{\class} + +\usepackage[\@opt@]{otf} +\usepackage[T1]{fontenc} +%\usepackage{bookman} +%\usepackage{helvet} +\usepackage{mathptmx} +%\usepackage{mathpazo} +\usepackage{courier} +%\usepackage{txfonts} +\usepackage{plext} +\usepackage{graphicx} + +\makeatother + +\usepackage{redeffont} + + +\AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}} + +\pagestyle{empty} + +\makeatother +\begin{document} +\parindent0mm +クラス:\texttt{\class}\\ +オプション:\texttt{\option} + +\section{Horizontal Writing} +\parbox<y>{13zw}{ +\fbox{\hbox{\large 「縦横無尽」}}\\ +\fbox{\hbox{\large キュート。Cute.}}\\ +\fbox{\hbox{\large \CID{8215}\CID{8216}\CID{8217}\CID{8218}\UTF{301C}\UTF{337C}\UTF{337B}\UTF{32FF}}}\\ +\ifuptexmode +\fbox{\hbox{\large ㌐㌹㌨㍍㌰㌲㍿アイウエオ}}\\ +\fi +\fbox{\hbox{\large TLT. TLT.}} +} + +\section{Vertical Writing} +\parbox<t>{10.5zw}{ +\fbox{\hbox{\large 「縦横無尽」}}\\ +\fbox{\hbox{\large キュート。Cute.}}\\ +\fbox{\hbox{\large \CID{8215}\CID{8216}\CID{8217}\CID{8218}\UTF{301C}\UTF{337C}\UTF{337B}\UTF{32FF}}}\\ +\ifuptexmode +\fbox{\hbox{\large ㌐㌹㌨㍍㌰㌲㍿}}\\ +\fi +\fbox{\hbox{\large RTT. RTR.}} +} + +\section{Horizontal Writing, Rotate 270 deg} +\rotatebox{-90}{ +\parbox<y>{13zw}{ +\fbox{\hbox{\large 「縦横無尽」}}\\ +\fbox{\hbox{\large キュート。Cute.}}\\ +\fbox{\hbox{\large \CID{8215}\CID{8216}\CID{8217}\CID{8218}\UTF{301C}\UTF{337C}\UTF{337B}\UTF{32FF}}}\\ +\ifuptexmode +\fbox{\hbox{\large ㌐㌹㌨㍍㌰㌲㍿アイウエオ}}\\ +\fi +\fbox{\hbox{\large RTR. RTR.}} +} +} + + +\section{Vertical Writing, Rotate 90 deg} +\rotatebox{90}{ +\parbox<t>{10.5zw}{ +\fbox{\hbox{\large 「縦横無尽」}}\\ +\fbox{\hbox{\large キュート。Cute.}}\\ +\fbox{\hbox{\large \CID{8215}\CID{8216}\CID{8217}\CID{8218}\UTF{301C}\UTF{337C}\UTF{337B}\UTF{32FF}}}\\ +\ifuptexmode +\fbox{\hbox{\large ㌐㌹㌨㍍㌰㌲㍿}}\\ +\fi +\fbox{\hbox{\large TLL. TLT.}} +} +} + +\end{document} diff --git a/language/japanese/japanese-otf/doc/test/uplatex/jotf-psfonts.map b/language/japanese/japanese-otf/doc/test/uplatex/jotf-psfonts.map new file mode 100644 index 0000000000..12d8ec0858 --- /dev/null +++ b/language/japanese/japanese-otf/doc/test/uplatex/jotf-psfonts.map @@ -0,0 +1,27 @@ +rml Ryumin-Light-H +rmlv Ryumin-Light-V + +uprml-h Ryumin-Light-UniJIS-UTF16-H +uprml-v Ryumin-Light-UniJIS-UTF16-V + +hminr-h Ryumin-Light-H +hminr-v Ryumin-Light-V + +uphminr-h Ryumin-Light-UniJIS-UTF16-H +uphminr-v Ryumin-Light-UniJIS-UTF16-V + +otf-cjmr-h Ryumin-Light-Identity-H +otf-cjmr-v Ryumin-Light-Identity-V + +otf-ujmr-h Ryumin-Light-UniJIS-UTF16-H +otf-ujmr-v Ryumin-Light-UniJIS-UTF16-V + +pcrr8r Courier "TeXBase1Encoding ReEncodeFont" <8r.enc +pplr8r Palatino-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc +pplb8r Palatino-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +ptmr8r Times-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc +ptmb8r Times-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc +pbkl8r Bookman-Light "TeXBase1Encoding ReEncodeFont" <8r.enc +pbkd8r Bookman-Demi "TeXBase1Encoding ReEncodeFont" <8r.enc + + diff --git a/language/japanese/japanese-otf/doc/test/uplatex/uotftest-utf8.tex b/language/japanese/japanese-otf/doc/test/uplatex/uotftest-utf8.tex index 45f57f8390..2b112b0834 100644 --- a/language/japanese/japanese-otf/doc/test/uplatex/uotftest-utf8.tex +++ b/language/japanese/japanese-otf/doc/test/uplatex/uotftest-utf8.tex @@ -61,6 +61,10 @@ \ifx\rubyfamily\@undefined\let\rubyfamily=\relax\fi \ifx\mgfamily\@undefined\let\mgfamily=\relax\fi \makeatother +\textwidth160mm +\oddsidemargin0mm +\evensidemargin0mm + \begin{document} \section{見出し} @@ -83,6 +87,8 @@ mg/m & {\mgfamily ひらかな} & {\mgfamily 漢字} & {\mgfamily\UTF{9DD7}} & { 日本:\UTF{6d77} 簡体字:\UTFC{6d77} 繁體字:\UTFT{6d77} 朝鮮:\UTFK{6d77} +日本:\UTF{8FF0} 簡体字:\UTFC{8FF0} 繁體字:\UTFT{8FF0} 朝鮮:\UTFK{8FF0} + % with furikana.sty \makeatletter \ifx\kana\@undefined @@ -101,17 +107,25 @@ mg/m & {\mgfamily ひらかな} & {\mgfamily 漢字} & {\mgfamily\UTF{9DD7}} & { アイウエオ\raisebox\baseshift{\frame{ア}\frame{イ}\frame{ウ}\frame{エ}\frame{オ}} +\ifuptexmode アイウエオ\raisebox\baseshift{\frame{ア}\frame{イ}\frame{ウ}\frame{エ}\frame{オ}} +\fi -% \UTF{}はまだ半角片仮名に対応していない。 UTF:\UTF{FF71}\UTF{FF72}\UTF{FF73}\UTF{FF74}\UTF{FF75}% -\raisebox\baseshift{\frame{\UTF{FF71}}\frame{\UTF{FF72}}\frame{\UTF{FF73}}\frame{\UTF{FF74}}\frame{\UTF{FF75}}} +\raisebox\baseshift{\frame{\UTF{FF71}}\frame{\UTF{FF72}}\frame{\UTF{FF73}}\frame{\UTF{FF74}}\frame{\UTF{FF75}}}\\ +UTFM:\UTFM{FF71}\UTFM{FF72}\UTFM{FF73}\UTFM{FF74}\UTFM{FF75}% +\raisebox\baseshift{\frame{\UTFM{FF71}}\frame{\UTFM{FF72}}\frame{\UTFM{FF73}}\frame{\UTFM{FF74}}\frame{\UTFM{FF75}}} UTF:% \UTF{FF61}\UTF{FF62}\UTF{FF63}\UTF{FF64}\UTF{FF65}\UTF{FF66}\UTF{FF67}\UTF{FF68}\UTF{FF69}\UTF{FF6A}\UTF{FF6B}\UTF{FF6C}\UTF{FF6D}\UTF{FF6E}\UTF{FF6F},% \UTF{FF70}\UTF{FF71}\UTF{FF72}\UTF{FF73}\UTF{FF74}\UTF{FF75}\UTF{FF76}\UTF{FF77}\UTF{FF78}\UTF{FF79}\UTF{FF7A}\UTF{FF7B}\UTF{FF7C}\UTF{FF7D}\UTF{FF7E}\UTF{FF7F},% \UTF{FF80}\UTF{FF81}\UTF{FF82}\UTF{FF83}\UTF{FF84}\UTF{FF85}\UTF{FF86}\UTF{FF87}\UTF{FF88}\UTF{FF89}\UTF{FF8A}\UTF{FF8B}\UTF{FF8C}\UTF{FF8D}\UTF{FF8E}\UTF{FF8F},% -\UTF{FF90}\UTF{FF91}\UTF{FF92}\UTF{FF93}\UTF{FF94}\UTF{FF95}\UTF{FF96}\UTF{FF97}\UTF{FF98}\UTF{FF99}\UTF{FF9A}\UTF{FF9B}\UTF{FF9C}\UTF{FF9D}\UTF{FF9E}\UTF{FF9F} +\UTF{FF90}\UTF{FF91}\UTF{FF92}\UTF{FF93}\UTF{FF94}\UTF{FF95}\UTF{FF96}\UTF{FF97}\UTF{FF98}\UTF{FF99}\UTF{FF9A}\UTF{FF9B}\UTF{FF9C}\UTF{FF9D}\UTF{FF9E}\UTF{FF9F}=\\ +UTFM:% +\UTFM{FF61}\UTFM{FF62}\UTFM{FF63}\UTFM{FF64}\UTFM{FF65}\UTFM{FF66}\UTFM{FF67}\UTFM{FF68}\UTFM{FF69}\UTFM{FF6A}\UTFM{FF6B}\UTFM{FF6C}\UTFM{FF6D}\UTFM{FF6E}\UTFM{FF6F},% +\UTFM{FF70}\UTFM{FF71}\UTFM{FF72}\UTFM{FF73}\UTFM{FF74}\UTFM{FF75}\UTFM{FF76}\UTFM{FF77}\UTFM{FF78}\UTFM{FF79}\UTFM{FF7A}\UTFM{FF7B}\UTFM{FF7C}\UTFM{FF7D}\UTFM{FF7E}\UTFM{FF7F},% +\UTFM{FF80}\UTFM{FF81}\UTFM{FF82}\UTFM{FF83}\UTFM{FF84}\UTFM{FF85}\UTFM{FF86}\UTFM{FF87}\UTFM{FF88}\UTFM{FF89}\UTFM{FF8A}\UTFM{FF8B}\UTFM{FF8C}\UTFM{FF8D}\UTFM{FF8E}\UTFM{FF8F},% +\UTFM{FF90}\UTFM{FF91}\UTFM{FF92}\UTFM{FF93}\UTFM{FF94}\UTFM{FF95}\UTFM{FF96}\UTFM{FF97}\UTFM{FF98}\UTFM{FF99}\UTFM{FF9A}\UTFM{FF9B}\UTFM{FF9C}\UTFM{FF9D}\UTFM{FF9E}\UTFM{FF9F}= \clearpage [mc/m] diff --git a/language/japanese/japanese-otf/doc/test/uplatex/utfmacro-haranoaji.map b/language/japanese/japanese-otf/doc/test/uplatex/utfmacro-haranoaji.map index 732b35cf5a..3aada8b0bb 100644 --- a/language/japanese/japanese-otf/doc/test/uplatex/utfmacro-haranoaji.map +++ b/language/japanese/japanese-otf/doc/test/uplatex/utfmacro-haranoaji.map @@ -1,3 +1,9 @@ +rml H HaranoAjiMincho-Regular.otf +rmlv V HaranoAjiMincho-Regular.otf + +uprml-h UniJISup-UTF16-H HaranoAjiMincho-Regular.otf +uprml-v UniJISup-UTF16-V HaranoAjiMincho-Regular.otf + hminr-h H HaranoAjiMincho-Regular.otf hminb-h H HaranoAjiMincho-Bold.otf hminl-h H HaranoAjiMincho-Light.otf diff --git a/language/japanese/japanese-otf/ofm/otf-cjgb-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjgb-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjgb-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjgb-v.ofm diff --git a/language/japanese/japanese-otf/ofm/otf-cjge-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjge-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjge-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjge-v.ofm diff --git a/language/japanese/japanese-otf/ofm/otf-cjgr-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjgr-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjgr-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjgr-v.ofm diff --git a/language/japanese/japanese-otf/ofm/otf-cjmb-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjmb-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjmb-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjmb-v.ofm diff --git a/language/japanese/japanese-otf/ofm/otf-cjmgr-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjmgr-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjmgr-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjmgr-v.ofm diff --git a/language/japanese/japanese-otf/ofm/otf-cjml-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjml-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjml-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjml-v.ofm diff --git a/language/japanese/japanese-otf/ofm/otf-cjmr-v.ofm b/language/japanese/japanese-otf/ofm/otf-cjmr-v.ofm Binary files differindex e25e786ffa..3b8287581b 100644 --- a/language/japanese/japanese-otf/ofm/otf-cjmr-v.ofm +++ b/language/japanese/japanese-otf/ofm/otf-cjmr-v.ofm diff --git a/language/japanese/japanese-otf/src/script/mkcidofm.pl b/language/japanese/japanese-otf/src/script/mkcidofm.pl index 5938984b2f..4b4d34b129 100644 --- a/language/japanese/japanese-otf/src/script/mkcidofm.pl +++ b/language/japanese/japanese-otf/src/script/mkcidofm.pl @@ -8,7 +8,7 @@ for ($d=0; $d<=1; $d++){ $font_name="otf-$base_name-$dir"; open(OPL, ">opl/$font_name.opl") || die "cannot make file"; print OPL "(OFMLEVEL D 1)\n"; - print OPL "(FONTDIR TL)\n"; + printf OPL "(FONTDIR %s)\n", $d==1 ? "RT" : "TL"; print OPL "(FAMILY HIRAMIN)\n"; print OPL "(FACE F MRR)\n"; print OPL "(CODINGSCHEME UNSPECIFIED)\n"; diff --git a/language/japanese/japanese-otf/src/script/mkpropofm.pl b/language/japanese/japanese-otf/src/script/mkpropofm.pl index b697cd5192..206b4f9e3b 100644 --- a/language/japanese/japanese-otf/src/script/mkpropofm.pl +++ b/language/japanese/japanese-otf/src/script/mkpropofm.pl @@ -18,7 +18,7 @@ foreach $base_name(@font_base_name){ $font_name="$base_name-$dir"; open(OPL, ">opl/$font_name.opl") || die "cannot make file"; print OPL "(OFMLEVEL D 1)\n"; - print OPL "(FONTDIR TL)\n"; + printf OPL "(FONTDIR %s)\n", $d==1 ? "RT" : "TL"; print OPL "(FAMILY HIRAMIN)\n"; print OPL "(FACE F MRR)\n"; print OPL "(CODINGSCHEME UNSPECIFIED)\n"; diff --git a/language/japanese/japanese-otf/sty/otf.sty b/language/japanese/japanese-otf/sty/otf.sty index 3513407c10..e302cea886 100644 --- a/language/japanese/japanese-otf/sty/otf.sty +++ b/language/japanese/japanese-otf/sty/otf.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{pLaTeX2e} -\ProvidesPackage{otf}[2022/02/17 TeX JP org, v1.7b8 psitau, u0.27 ttk] +\ProvidesPackage{otf}[2022/03/05 TeX JP org, v1.7b8 psitau, u0.27 ttk] \RequirePackage{keyval} %for processing options \newif\if@kana \@kanafalse |