summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-08-03 22:56:12 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-08-03 22:56:12 +0200
commit51ac04816f89f7d38ce499d3ce81b34621e1869e (patch)
tree85c6b537536f814c9237cf2aa5fb6c83959aab53
parent04f06993d2d9981267e803eaa7dd034a3d57f9eb (diff)
downloadluaotfload-51ac04816f89f7d38ce499d3ce81b34621e1869e.tar.gz
[tool] handle missing size info
-rwxr-xr-xluaotfload-tool.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index e95bba4..c80f98e 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -816,6 +816,10 @@ actions.query = function (job)
tmpspec = names.handle_request (tmpspec)
+ if not tmpspec.size then
+ tmpspec.size = 655360 --- assume 10pt
+ end
+
local foundname, subfont, success
if tmpspec.lookup == "name"