summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-20 14:31:15 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-20 14:31:15 +0200
commit488d7fd86850691244709064777bc22113262701 (patch)
treeb6790647b8f188afcb03cf1d993fbde0289f7ce8
parent267997e49570d3d08b4de3eb6c9c5394ec1d2f97 (diff)
downloadluaotfload-488d7fd86850691244709064777bc22113262701.tar.gz
Adding a little TODO for file lookup
-rw-r--r--otfl-font-nms.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index ee9fa33..b62f5ec 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -243,6 +243,9 @@ font database created by the mkluatexfontdb script.
--- successful lookup as this cannot be inferred from the other
--- values.
---
+--- TODO: this function is used also with the file lookup, it could be optimized
+--- a lot for this case.
+---
resolve = function (_,_,specification) -- the 1st two parameters are used by ConTeXt
local name = sanitize_string(specification.name)
local style = sanitize_string(specification.style) or "regular"