From d2b32f51a324046b00757cf6a5e0e8b1b73327ff Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 3 Jun 2010 15:06:18 +0300 Subject: Explicitely convert color value to string Fixes #9 --- otfl-font-clr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otfl-font-clr.lua') diff --git a/otfl-font-clr.lua b/otfl-font-clr.lua index e1f0faa..a6cf63f 100644 --- a/otfl-font-clr.lua +++ b/otfl-font-clr.lua @@ -16,7 +16,7 @@ table.insert(fonts.triggers,"color") function initializers.common.color(tfmdata,value) if value then - tfmdata.color = value + tfmdata.color = tostring(value) add_color_callback() end end -- cgit v1.2.3