diff options
author | Karl Berry <karl@freefriends.org> | 2017-08-27 23:51:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-08-27 23:51:50 +0000 |
commit | 63a5a899b4006f00cff47afb36e992b1f6d654f1 (patch) | |
tree | 4f70942f5b2e55d7fd26085369cff6f7d9d6169f /Master/texmf-dist/tex/uplatex/base/uptrace.sty | |
parent | 0918346e1e33549542bca1da2a7708c1c3d80c3e (diff) |
uplatex (27aug17)
git-svn-id: svn://tug.org/texlive/trunk@45141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/uplatex/base/uptrace.sty')
-rw-r--r-- | Master/texmf-dist/tex/uplatex/base/uptrace.sty | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/uplatex/base/uptrace.sty b/Master/texmf-dist/tex/uplatex/base/uptrace.sty index 793da2e868c..cba13346d34 100644 --- a/Master/texmf-dist/tex/uplatex/base/uptrace.sty +++ b/Master/texmf-dist/tex/uplatex/base/uptrace.sty @@ -16,7 +16,7 @@ %% File: uplfonts.dtx \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{uptrace} - [2017/03/05 v1.6f-u00 Standard upLaTeX package (font tracing)] + [2017/08/05 v1.6h-u00 Standard upLaTeX package (font tracing)] \RequirePackageWithOptions{tracefnt} \DeclareRobustCommand\selectfont{% \let\tmp@error@fontshape\error@fontshape @@ -73,8 +73,6 @@ \set@fontsize\baselinestretch\f@size\f@baselineskip \fi \size@update} -\def\KanjiEncodingPair#1#2{\@namedef{t@enc@#1}{#2}\@namedef{y@enc@#2}{#1}} -\KanjiEncodingPair{JY2}{JT2} \plIncludeInRelease{2017/04/08}{\set@fontsize} {Construct \ystrutbox}% \def\set@fontsize#1#2#3{% @@ -145,8 +143,32 @@ \fi \let\size@update\relax}} \plEndIncludeInRelease -\newbox\adjust@box -\newdimen\adjust@dimen +\plIncludeInRelease{2017/07/29}{\adjustbaseline} + {Change zenkaku reference}% +\def\adjustbaseline{% + \setbox\adjust@box\hbox{\char\jis"3441}%" + \cht\ht\adjust@box + \cdp\dp\adjust@box + \cwd\wd\adjust@box + \cvs\normalbaselineskip + \chs\cwd + \cHT\cht \advance\cHT\cdp + \iftdir + \setbox\adjust@box\hbox{\tbaselineshift\z@ M}% + \adjust@dimen\ht\adjust@box + \advance\adjust@dimen\dp\adjust@box + \advance\adjust@dimen-\cHT + \divide\adjust@dimen\tw@ + \advance\adjust@dimen\cdp + \advance\adjust@dimen-\dp\adjust@box + \tbaselineshift\adjust@dimen + \ifnum \tracingfonts>\tw@ + \typeout{baselineshift:\the\tbaselineshift}% + \fi + \fi} +\plEndIncludeInRelease +\plIncludeInRelease{0000/00/00}{\adjustbaseline} + {Change zenkaku reference}% \def\adjustbaseline{% \setbox\adjust@box\hbox{\char\euc"A1A1}%" \cht\ht\adjust@box @@ -164,10 +186,11 @@ \advance\adjust@dimen\cdp \advance\adjust@dimen-\dp\adjust@box \tbaselineshift\adjust@dimen - \ifnum \tracingfonts>\tw@ - \typeout{baselineshift:\the\tbaselineshift} - \fi + \ifnum \tracingfonts>\tw@ + \typeout{baselineshift:\the\tbaselineshift} + \fi \fi} +\plEndIncludeInRelease \endinput %% %% End of file `uptrace.sty'. |