summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-05 22:33:41 +0000
committerKarl Berry <karl@freefriends.org>2019-03-05 22:33:41 +0000
commit541c4ddf7c5b402b9cfe8af5ef4e49ffa15d3e83 (patch)
tree9e7e04a6ad7c9cfa5d252e8df9f24427d0b5e518 /Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx
parent671551a95af115dfc9afc2cf4ed4caed130b1abf (diff)
unicode-math (5mar19)
git-svn-id: svn://tug.org/texlive/trunk@50245 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx b/Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx
index 9d43d0c18c1..b801b6c0b96 100644
--- a/Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx
+++ b/Master/texmf-dist/source/latex/unicode-math/um-code-fontparam.dtx
@@ -279,21 +279,21 @@
% \subsection{Historical commands}
%
% \begin{macro}{\@@_fontdimen_to_percent:nN}
-% \begin{macro}{\@@_fontdimen_to_scale:nN}
+% \begin{macro}{\@@_fontdimen_pc_to_pt:nN}
% \darg{Font dimen number}
% \darg{Font `variable'}
% \cmd\fontdimen s |10|, |11|, and |65| aren't actually dimensions, they're percentage values given in units of |sp|.
% \cs{@@_fontdimen_to_percent:nn} takes a font dimension number and outputs the decimal value of the associated parameter.
-% \cs{@@_fontdimen_to_scale:nn} returns a dimension correspond to the current
+% \cs{@@_fontdimen_pc_to_pt:nn} returns a dimension correspond to the current
% font size relative proportion based on that percentage.
% \begin{macrocode}
-\cs_new:Nn \@@_fontdimen_to_percent:nN
+\cs_set:Nn \@@_fontdimen_to_percent:nN
{
- \fp_eval:n { \dim_to_decimal:n { 65536 \fontdimen #1 #2 } / 100 }
+ \fp_eval:n { \dim_to_decimal_in_sp:n { \fontdimen #1 #2 } / 100 }
}
-\cs_new:Nn \@@_fontdimen_to_scale:nN
+\cs_new:Nn \@@_fontdimen_pc_to_pt:nN
{
- \fp_eval:n { \@@_fontdimen_to_percent:nN {#1} #2 * \f@size }
+ \fp_eval:n { \dim_to_decimal_in_sp:n { \fontdimen #1 #2 } / 100 * \f@size }
}
% \end{macrocode}
% \end{macro}