summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty3
1 files changed, 1 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty
index 4bf4be4fc9c..41f2231d9b4 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textfit.sty
@@ -19,12 +19,11 @@
\newsavebox{\LWR@textfitbox}
\newcommand*{\LWR@textfitscale}[2]{%
-\uselengthunit{PT}%
\setlength{\LWR@templengthone}{#1}%
\setlength{\LWR@templengthone}{%
1em*\ratio{\LWR@templengthone}{\LWR@templengthtwo}%
}%
-\InlineClass[font-size:\rndprintlength{\LWR@templengthone}]{textfit}{#2}%
+\InlineClass[font-size:\LWR@printlength{\LWR@templengthone}]{textfit}{#2}%
}
\newcommand*{\scaletowidth}[2]{%