summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-18 22:36:39 +0000
committerKarl Berry <karl@freefriends.org>2019-01-18 22:36:39 +0000
commit9fe86978e3c05cc8ffe90251487f8240f3765402 (patch)
treefcccbc6193e9111774462036fb5a130adad6319e /Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua
parent1da73770bc3b5546208cb6511e69cbc7f86bc33e (diff)
luaotfload (18jan19)
git-svn-id: svn://tug.org/texlive/trunk@49747 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua b/Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua
index f090bce55cc..508d32d71cf 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/fontloader-util-str.lua
@@ -1415,3 +1415,11 @@ function strings.newcollector()
end
end
end
+
+--
+
+local f_16_16 = formatters["%0.5N"]
+
+function number.to16dot16(n)
+ return f_16_16(n/65536.0)
+end