diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-23 03:41:03 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-23 03:41:03 -0700 |
commit | cc85c3bba06afda8553158abeac3a05b2e58ec8b (patch) | |
tree | e5f6cc37248d46af680ff4d97b09efe62a9f3ba3 /luaotfload-tool.lua | |
parent | a5458c60dbbc0b81c6d39748772d6b2ce184c287 (diff) | |
parent | cdda569094c3396258d21f82c3c4a5cd5eb9aa8e (diff) | |
download | luaotfload-cc85c3bba06afda8553158abeac3a05b2e58ec8b.tar.gz |
Merge pull request #124 from phi-gamma/master
fix slant per point factor (``\fontdimen1``)
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-x | luaotfload-tool.lua | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua index d5cd8e7..faa5f10 100755 --- a/luaotfload-tool.lua +++ b/luaotfload-tool.lua @@ -169,8 +169,8 @@ require"alt_getopt" local names = fonts.names local status_file = "luaotfload-status" -local status = require (status_file) -config.luaotfload.status = status +local luaotfloadstatus = require (status_file) +config.luaotfload.status = luaotfloadstatus local sanitize_string = names.sanitize_string @@ -291,17 +291,16 @@ local help_msg = function (version) end local version_msg = function ( ) - texiowrite_nl(stringformat( - "%s version %q\n" .. -- no \z due to 5.1 compatibility - "revision %q\n" .. - "database version %q\n" .. - "Lua interpreter: %s; version %q\n", - config.luaotfload.self, - version, - status.notes.revision, - names.version, - runtime[1], - runtime[2])) + local out = function (...) texiowrite_nl (stringformat (...)) end + out ("%s version %q", config.luaotfload.self, version) + out ("revision %q", luaotfloadstatus.notes.revision) + out ("database version %q", names.version) + out ("Lua interpreter: %s; version %q", runtime[1], runtime[2]) + out ("Luatex SVN revision %d", status.luatex_svn) + out ("Luatex version %.2f.%d", + status.luatex_version / 100, + status.luatex_revision) + out "" end |