diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-10-06 16:11:12 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-10-06 16:11:12 +0200 |
commit | 6f9e8865e4759426be87e73c14b3e5d604de8f14 (patch) | |
tree | 35aa73e79c6f0ee9facc61d48e825e7963ddcd51 | |
parent | be40844cfd078c8ec6b7ace73185a318e6d47840 (diff) | |
download | luaotfload-6f9e8865e4759426be87e73c14b3e5d604de8f14.tar.gz |
Make sure the color value is string
-rw-r--r-- | otfl-font-clr.lua | 1 |
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 |