diff options
Diffstat (limited to 'otfl-font-ota.lua')
-rw-r--r-- | otfl-font-ota.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/otfl-font-ota.lua b/otfl-font-ota.lua index 0b61e17..0e5b555 100644 --- a/otfl-font-ota.lua +++ b/otfl-font-ota.lua @@ -51,6 +51,7 @@ local a_to_language = otf.a_to_language -- somewhat slower; and .. we need a chain of them function fonts.initializers.node.otf.analyze(tfmdata,value,attr) + local script, language if attr and attr > 0 then script, language = a_to_script[attr], a_to_language[attr] else |