From 6f9e8865e4759426be87e73c14b3e5d604de8f14 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 6 Oct 2010 16:11:12 +0200 Subject: Make sure the color value is string --- otfl-font-clr.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3