summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otfl-font-clr.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/otfl-font-clr.lua b/otfl-font-clr.lua
index dc14b2c..e02d22a 100644
--- a/otfl-font-clr.lua
+++ b/otfl-font-clr.lua
@@ -18,6 +18,7 @@ function initializers.common.color(tfmdata,value)
local sanitized
if value then
+ value = tostring(value)
if #value == 6 or #value == 8 then
sanitized = value
elseif #value == 7 then