summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-08 22:18:16 +0000
committerKarl Berry <karl@freefriends.org>2020-08-08 22:18:16 +0000
commita5867a77a11af6061a2bd2e539dbf61fb18e77cb (patch)
treebc0928ade8caac9e53c0f3376e692da16705fd22 /Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty
parent246b3c56169fb708e19f08d553d1a4850c36eaef (diff)
luatexja (9aug20)
git-svn-id: svn://tug.org/texlive/trunk@56076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty15
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty
index e0dba375471..76a3147036b 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjdefs.sty
@@ -3,12 +3,10 @@
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjdefs}[2020/03/16 Default font settings of LuaTeX-ja]
+\ProvidesPackage{lltjdefs}[2020-08-08 Default font settings of LuaTeX-ja]
\ifdefined\ltj@stdmcfont\else\def\ltj@stdmcfont{file:HaranoAjiMincho-Regular.otf}\fi
\ifdefined\ltj@stdgtfont\else\def\ltj@stdgtfont{file:HaranoAjiGothic-Medium.otf}\fi
-%\ifdefined\ltj@stdmcfont\else\def\ltj@stdmcfont{IPAExMincho}\fi
-%\ifdefined\ltj@stdgtfont\else\def\ltj@stdgtfont{IPAExGothic}\fi
\ifdefined\ltj@stdyokojfm\else\def\ltj@stdyokojfm{ujis}\fi
\ifdefined\ltj@stdtatejfm\else\def\ltj@stdtatejfm{ujisv}\fi
\InputIfFileExists{luatexja.cfg}{%
@@ -34,11 +32,9 @@
\newcommand\kanjiencodingdefault{JY3}
\newcommand\kanjifamilydefault{\mcdefault}
\newcommand\kanjiseriesdefault{\mddefault}
-\ifdefined\@rmfamilyhook
- %% LaTeX 2020-02-02
+\ifdefined\@rmfamilyhook%% LaTeX 2020-02-02
\newcommand\kanjishapedefault{\shapedefault}
-\else
- %% LaTeX 2019-10-01
+\else %% LaTeX 2019-10-01
\newcommand\kanjishapedefault{\updefault}
\fi
@@ -78,8 +74,7 @@
\DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{}
\unless\ifltj@disablejfam
- \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
- \jfam\symmincho
+ \DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}\jfam\symmincho
\SetSymbolFont{mincho}{bold}{JY3}{gt}{m}{n}
\DeclareSymbolFontAlphabet{\mathmc}{mincho}
\DeclareMathAlphabet{\mathgt}{JY3}{gt}{m}{n}
@@ -132,6 +127,8 @@
\expandafter\patchcmd\csname em \endcsname{\itshape}{\gtfamily\itshape}{}{}
\def\eminnershape{\mcfamily \upshape}
+\ltjsetparameter{autospacing, autoxspacing, differentjfm=paverage}
+
\ltjdefcharrange{1}{"80-"36F, "1E00-"1EFF}
\ltjdefcharrange{2}{"370-"4FF, "1F00-"1FFF}
\ltjdefcharrange{3}{%