summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"