Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
[loaders] include file and subfont in diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-gamma committed Feb 10, 2017
1 parent 7672c73 commit f4a719d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/luaotfload-loaders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ do
logreport ("both", 0, "loaders", " > fontname %q", result.fontname or "<nil>")
logreport ("both", 0, "loaders", " > fullname %q", result.fullname or "<nil>")
logreport ("both", 0, "loaders", " > type %s", result.type or "<nil>")
local spec = result.specification
if spec then
logreport ("both", 0, "loaders", " > file %q", spec.filename or "<nil>")
logreport ("both", 0, "loaders", " > subfont %s", spec.sub or "<nil>")
end
return result
end
end
Expand Down

0 comments on commit f4a719d

Please sign in to comment.